From a8dfd6f51aa01183e118de1a3b648aef7107df88 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 24 Apr 2018 15:07:11 +0200 Subject: poke ymir --- ymir.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index b4590736..c3cb93e7 100644 --- a/ymir.nix +++ b/ymir.nix @@ -355,6 +355,11 @@ in rec { }; }; }; + + systemd.services."uwsgi" = { + wantedBy = [ "nginx.service" ]; + before = [ "nginx.service" ]; + }; users.extraUsers."uwsgi".extraGroups = ["gitolite"]; @@ -640,7 +645,7 @@ in rec { privileged = true; chroot = false; command = "spawn"; - args = [ "user=nobody" ''argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}'' ]; + args = [ "user=nobody" "argv=${pkgs.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}" ]; }; }; networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; -- cgit v1.2.3