mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
[skip ci] Add restart on failure to systemd units
This commit is contained in:
parent
ab758fe713
commit
6fb48234e5
3 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
ExecStart=bash -c "/srv/lighthouse/start.sh API"
|
ExecStart=bash -c "/srv/lighthouse/start.sh API"
|
||||||
TimeoutStopSec=15
|
TimeoutStopSec=15
|
||||||
User=lighthouse
|
User=lighthouse
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=lighthouse-api
|
Alias=lighthouse-api
|
||||||
|
|
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
ExecStart=bash -c "/srv/lighthouse/start.sh GameServer"
|
ExecStart=bash -c "/srv/lighthouse/start.sh GameServer"
|
||||||
TimeoutStopSec=15
|
TimeoutStopSec=15
|
||||||
User=lighthouse
|
User=lighthouse
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=lighthouse-website
|
Alias=lighthouse-website
|
||||||
|
|
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
ExecStart=bash -c "/srv/lighthouse/start.sh Website"
|
ExecStart=bash -c "/srv/lighthouse/start.sh Website"
|
||||||
TimeoutStopSec=15
|
TimeoutStopSec=15
|
||||||
User=lighthouse
|
User=lighthouse
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=lighthouse-website
|
Alias=lighthouse-website
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue