diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2015-04-25 16:29:34 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2015-04-25 16:29:34 +0200 |
commit | a9cd286cd0d323e9bf934c362ca002bff252dbae (patch) | |
tree | d53d105b8af1330a9d8b129e5b041e06e5ce3f02 /nixos | |
parent | ffea2316529cc5736c2c430d46ac236ab43d43e0 (diff) | |
parent | f6bb49ad4a3f53b27dfdaaf2a7d3a085c61aa32e (diff) | |
download | nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar.gz nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar.bz2 nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar.lz nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar.xz nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.tar.zst nixpkgs-a9cd286cd0d323e9bf934c362ca002bff252dbae.zip |
Merge pull request #7546 from offlinehacker/nixos/panamax/reload
nixos/fluentd: add support for config reload
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/logging/fluentd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/logging/fluentd.nix b/nixos/modules/services/logging/fluentd.nix index 61eeec504e0..3aa27a15266 100644 --- a/nixos/modules/services/logging/fluentd.nix +++ b/nixos/modules/services/logging/fluentd.nix @@ -33,6 +33,7 @@ in { wantedBy = [ "multi-user.target" ]; serviceConfig = { ExecStart = "${pkgs.fluentd}/bin/fluentd -c ${pkgs.writeText "fluentd.conf" cfg.config}"; + ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; }; }; }; |