forked from mirrors/nixpkgs
Removed unnecessary mkIf
The whole block is already wrapped in cfg.enable and this breaks some things.
This commit is contained in:
parent
d9c13a73c2
commit
8063382867
|
@ -91,7 +91,7 @@ in {
|
||||||
target = "elasticsearch/logging.yml"; }
|
target = "elasticsearch/logging.yml"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.elasticsearch = mkIf cfg.enable {
|
systemd.services.elasticsearch = {
|
||||||
description = "Elasticsearch daemon";
|
description = "Elasticsearch daemon";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network-interfaces.target" ];
|
after = [ "network-interfaces.target" ];
|
||||||
|
|
Loading…
Reference in a new issue