Download : Fix missing restart.
This commit is contained in:
parent
339231ae73
commit
b75b04d3bd
|
@ -51,6 +51,7 @@ in {
|
||||||
|
|
||||||
systemd.services.deluged.serviceConfig = {
|
systemd.services.deluged.serviceConfig = {
|
||||||
MemoryLimit = cfg.memLimit;
|
MemoryLimit = cfg.memLimit;
|
||||||
|
Restart = lib.mkForce "always";
|
||||||
RuntimeMaxSec = "1d";
|
RuntimeMaxSec = "1d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,7 +63,7 @@ in {
|
||||||
PIDFile = "/run/nfqws.pid";
|
PIDFile = "/run/nfqws.pid";
|
||||||
ExecReload = "/bin/kill -HUP $MAINPID";
|
ExecReload = "/bin/kill -HUP $MAINPID";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "5s";
|
# RestartSec = "5s";
|
||||||
RuntimeMaxSec = "1h";
|
RuntimeMaxSec = "1h";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue