nixos/uwsgi: set up the default runtime directory

Fix issue #110691
This commit is contained in:
rnhmjoj 2021-01-25 12:13:34 +01:00
parent 4ff48ea01c
commit f62d2652e2
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -209,6 +209,7 @@ in {
KillSignal = "SIGQUIT";
AmbientCapabilities = cfg.capabilities;
CapabilityBoundingSet = cfg.capabilities;
RuntimeDirectory = mkIf (cfg.runDir == "/run/uwsgi") "uwsgi";
};
};