syslog-ng: enable reload service
commitc2b24892b0e59c02eff42085737483fd1d57788d
authorIzorkin <Izorkin@gmail.com>
dateWed 15 Aug 2018, 19:46 (8 years ago)
parentd817452
nixos/modules/services/logging/syslog-ng.nix+1
@@ -88,6 +88,7 @@ in {
8888 StandardOutput = "null";
8989 Restart = "on-failure";
9090 ExecStart = "${cfg.package}/sbin/syslog-ng ${concatStringsSep " " syslogngOptions}";
91+ ExecReload = "${pkgs.coreutils}/bin/kill -HUP ${pidFile}";
9192 };
9293 };
9394 };