hermes: dashboard auto-restart after updates (Restart=always)
This commit is contained in:
1 parent
0fd69e0b90
commit
d22ac5cef2
1 file changed
+2
-2
@@ -14,8 +14,8 @@ Environment="HERMES_HOME={{ hermes_home }}/.hermes"
|
|||||||
ExecStart={{ hermes_home }}/.hermes/hermes-agent/venv/bin/hermes dashboard --host {{ hermes_dashboard_host }} --port {{ hermes_dashboard_port }}{% if hermes_dashboard_insecure %} --insecure{% endif %}
|
ExecStart={{ hermes_home }}/.hermes/hermes-agent/venv/bin/hermes dashboard --host {{ hermes_dashboard_host }} --port {{ hermes_dashboard_port }}{% if hermes_dashboard_insecure %} --insecure{% endif %}
|
||||||
|
|
||||||
TimeoutStopSec=30
|
TimeoutStopSec=30
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=5
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
SyslogIdentifier=hermes-dashboard
|
SyslogIdentifier=hermes-dashboard
|
||||||
|
|||||||
Reference in new issue
Block a user