Enable restarting systemd service on failure

This commit is contained in:
2024-11-22 18:57:08 +01:00
parent 088643cae5
commit b28bb18287

View File

@@ -96,6 +96,8 @@ in {
serviceConfig = {
ExecStart = "${hcpy}/bin/hcpy-service";
Restart = "on-failure";
RestartSec = 10;
};
};
};