syslog-ng: fix reload service
This commit is contained in:
parent
0a17d08a97
commit
300fe1cc9a
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ in {
|
|||
StandardOutput = "null";
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${cfg.package}/sbin/syslog-ng ${concatStringsSep " " syslogngOptions}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP ${pidFile}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP `${pkgs.coreutils}/bin/cat ${pidFile}`";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue