nixos/exim: Add unit restart trigger (#41418)
This commit is contained in:
parent
bb7d67d74a
commit
b3e7923b94
@ -94,6 +94,7 @@ in
|
|||||||
systemd.services.exim = {
|
systemd.services.exim = {
|
||||||
description = "Exim Mail Daemon";
|
description = "Exim Mail Daemon";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
restartTriggers = [ config.environment.etc."exim.conf".source ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${exim}/bin/exim -bdf -q30m";
|
ExecStart = "${exim}/bin/exim -bdf -q30m";
|
||||||
ExecReload = "${coreutils}/bin/kill -HUP $MAINPID";
|
ExecReload = "${coreutils}/bin/kill -HUP $MAINPID";
|
||||||
|
Loading…
Reference in New Issue
Block a user