Enable restarting systemd service on failure
This commit is contained in:
@@ -96,6 +96,8 @@ in {
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${hcpy}/bin/hcpy-service";
|
ExecStart = "${hcpy}/bin/hcpy-service";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user