Add reboot conflict and SIGTERM restart prevention for hub service
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/83e39fad-8cf8-4008-8977-a07a77b2f7a3 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d3d90f6e94
commit
18c60bf085
@@ -340,10 +340,12 @@ in
|
||||
description = "Sovran_SystemsOS Hub Web Interface";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
conflicts = [ "sovran-hub-reboot.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${sovran-hub-web}/bin/sovran-hub-web";
|
||||
Restart = "on-failure";
|
||||
RestartPreventExitStatus = "SIGTERM";
|
||||
RestartSec = "5s";
|
||||
User = "root";
|
||||
StandardOutput = "journal";
|
||||
|
||||
Reference in New Issue
Block a user