nixos/fluentd: add support for config reload

This commit is contained in:
Jaka Hudoklin 2015-04-25 14:21:27 +02:00
parent 4e51a466bd
commit f6bb49ad4a
1 changed files with 1 additions and 0 deletions

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