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:
Salt 2020-03-25 08:30:03 -05:00
parent b86c81add2
commit f856ca4fe6

View File

@ -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