nixos/exim: Add unit restart trigger (#41418)

This commit is contained in:
Janne Heß 2018-06-03 21:22:55 +02:00 committed by xeji
parent bb7d67d74a
commit b3e7923b94

View File

@ -94,6 +94,7 @@ in
systemd.services.exim = {
description = "Exim Mail Daemon";
wantedBy = [ "multi-user.target" ];
restartTriggers = [ config.environment.etc."exim.conf".source ];
serviceConfig = {
ExecStart = "${exim}/bin/exim -bdf -q30m";
ExecReload = "${coreutils}/bin/kill -HUP $MAINPID";