Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/uwsgi: set up the default runtime directory #110770

Merged
merged 2 commits into from Jan 25, 2021
Merged

Conversation

rnhmjoj
Copy link
Contributor

@rnhmjoj rnhmjoj commented Jan 25, 2021

Motivation for this change

Fix issue #110691

Things done
  • Tested via

    • nixosTests.uwsgi

    • nixosTests.searx

    • nixosTests.ihatemoney

    • running this command and checking the directory with stat:

      nix-build -E '(import ./nixos { configuration = { config, pkgs, ... }: { 
          services.uwsgi = {
          enable = true;
          plugins = [ "python3" ];
          instance = {
            type = "emperor";
            vassals = {
              foobar = {
                type = "normal";
                socket = "${config.services.uwsgi.runDir}/foobar.sock";
              };
            };
          };
        };
        users.users.root.password = "";
        }; }).vm'
      
  • Ensured that relevant documentation is up to date

  • Fits CONTRIBUTING.md.

yq-go has been updated with breaking changes to the syntax.
Copy link
Member

@mmilata mmilata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rnhmjoj rnhmjoj merged commit 508aacd into NixOS:master Jan 25, 2021
@rnhmjoj rnhmjoj deleted the uwsgi branch July 10, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants