diff options
-rw-r--r-- | ymir.nix | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -355,6 +355,11 @@ in rec { | |||
355 | }; | 355 | }; |
356 | }; | 356 | }; |
357 | }; | 357 | }; |
358 | |||
359 | systemd.services."uwsgi" = { | ||
360 | wantedBy = [ "nginx.service" ]; | ||
361 | before = [ "nginx.service" ]; | ||
362 | }; | ||
358 | 363 | ||
359 | users.extraUsers."uwsgi".extraGroups = ["gitolite"]; | 364 | users.extraUsers."uwsgi".extraGroups = ["gitolite"]; |
360 | 365 | ||
@@ -640,7 +645,7 @@ in rec { | |||
640 | privileged = true; | 645 | privileged = true; |
641 | chroot = false; | 646 | chroot = false; |
642 | command = "spawn"; | 647 | command = "spawn"; |
643 | args = [ "user=nobody" ''argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}'' ]; | 648 | args = [ "user=nobody" "argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}" ]; |
644 | }; | 649 | }; |
645 | }; | 650 | }; |
646 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 651 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |