Change restart condition for Minecraft server to always
With so many mods, it's possible for it to exit "cleanly"
This commit is contained in:
parent
b86c81add2
commit
f856ca4fe6
@ -31,7 +31,7 @@ ExecStop=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "save-all"\\015'
|
|||||||
ExecStop=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "stop"\\015'
|
ExecStop=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "stop"\\015'
|
||||||
ExecStop=/bin/sleep 10
|
ExecStop=/bin/sleep 10
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user