restart on failure

This commit is contained in:
Mario Fetka
2024-04-13 08:09:46 +02:00
parent 1951cb234e
commit 501bd8c536
8 changed files with 230 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ After=network-online.target
#Requires=mis.socket
[Service]
Restart=on-failure
RestartSec=5s
AmbientCapabilities=CAP_NET_BIND_SERVICE
Type=forking
# The mis daemon needs to start as root as discussed above, or will fail to bind TCP ports.