elasticsearch-curator: don't need to add enable to elasticsearch-curator service

This commit is contained in:
David Smith 2018-08-21 09:39:12 +01:00 committed by Bas van Dijk
parent 3744467589
commit 2ec33f527b

View File

@ -84,7 +84,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.services.elasticsearch-curator = { systemd.services.elasticsearch-curator = {
enable = cfg.enable;
startAt = cfg.interval; startAt = cfg.interval;
serviceConfig = { serviceConfig = {
ExecStart = ''${pkgs.python36Packages.elasticsearch-curator}/bin/curator --config ${curatorConfig} ${curatorAction}''; ExecStart = ''${pkgs.python36Packages.elasticsearch-curator}/bin/curator --config ${curatorConfig} ${curatorAction}'';