Configure Systemd Watchdog
that monitors the reachability of Poseidon and automatically restarts Poseidon if required.
This commit is contained in:

committed by
Sebastian Serth

parent
2d34854450
commit
b48c7fe8b6
@@ -8,5 +8,10 @@ Requires=poseidon.socket
|
||||
[Service]
|
||||
WorkingDirectory=${GITHUB_WORKSPACE}
|
||||
ExecStart=${GITHUB_WORKSPACE}/poseidon
|
||||
Restart=always
|
||||
Environment="POSEIDON_SERVER_SYSTEMDSOCKETACTIVATION=TRUE"
|
||||
|
||||
Restart=always
|
||||
StartLimitBurst=0
|
||||
|
||||
Type=notify
|
||||
WatchdogSec=5
|
||||
|
Reference in New Issue
Block a user