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