elasticsearch-curator: don't need to add enable to elasticsearch-curator service
This commit is contained in:
parent
3744467589
commit
2ec33f527b
@ -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}'';
|
||||||
|
Loading…
Reference in New Issue
Block a user