From c2b24892b0e59c02eff42085737483fd1d57788d Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 15 Aug 2018 19:46:47 +0300 Subject: [PATCH] syslog-ng: enable reload service --- nixos/modules/services/logging/syslog-ng.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/logging/syslog-ng.nix b/nixos/modules/services/logging/syslog-ng.nix index 21be286a6e98..8466ff4630af 100644 --- a/nixos/modules/services/logging/syslog-ng.nix +++ b/nixos/modules/services/logging/syslog-ng.nix @@ -88,6 +88,7 @@ in { StandardOutput = "null"; Restart = "on-failure"; ExecStart = "${cfg.package}/sbin/syslog-ng ${concatStringsSep " " syslogngOptions}"; + ExecReload = "${pkgs.coreutils}/bin/kill -HUP ${pidFile}"; }; }; };