summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/exim.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krebs/3modules/exim.nix b/krebs/3modules/exim.nix
index 972c7f437..0f0aa67f0 100644
--- a/krebs/3modules/exim.nix
+++ b/krebs/3modules/exim.nix
@@ -65,8 +65,9 @@ in {
config.environment.etc."exim.conf".source
];
serviceConfig = {
- ExecStart = "${pkgs.exim}/bin/exim -bdf -q30m";
- ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
+ ExecStart = "+${pkgs.exim}/bin/exim -bdf -q30m";
+ ExecReload = "+${pkgs.coreutils}/bin/kill -HUP $MAINPID";
+ User = cfg.user.name;
};
wantedBy = [ "multi-user.target" ];
};