Skip to content

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

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

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.

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
yq-go has been updated with breaking changes to the syntax.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix issue NixOS#110691
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!

@ofborg ofborg bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Jan 25, 2021
@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
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants