1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #7546 from offlinehacker/nixos/panamax/reload

nixos/fluentd: add support for config reload
This commit is contained in:
Jaka Hudoklin 2015-04-25 16:29:34 +02:00
commit a9cd286cd0

View file

@ -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";
};
};
};