mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-19 19:14:51 +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"
|
||||
TimeoutStopSec=15
|
||||
User=lighthouse
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
Alias=lighthouse-api
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue