[skip ci] Add restart on failure to systemd units

This commit is contained in:
jvyden 2022-05-15 22:38:06 -04:00
parent ab758fe713
commit 6fb48234e5
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@ Type=simple
ExecStart=bash -c "/srv/lighthouse/start.sh API"
TimeoutStopSec=15
User=lighthouse
Restart=on-failure
[Install]
Alias=lighthouse-api

View file

@ -7,6 +7,7 @@ Type=simple
ExecStart=bash -c "/srv/lighthouse/start.sh GameServer"
TimeoutStopSec=15
User=lighthouse
Restart=on-failure
[Install]
Alias=lighthouse-website

View file

@ -7,6 +7,7 @@ Type=simple
ExecStart=bash -c "/srv/lighthouse/start.sh Website"
TimeoutStopSec=15
User=lighthouse
Restart=on-failure
[Install]
Alias=lighthouse-website