From f856ca4fe6b368eb299d49963d457b1e120d466e Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 25 Mar 2020 08:30:03 -0500 Subject: [PATCH] Change restart condition for Minecraft server to always With so many mods, it's possible for it to exit "cleanly" --- roles/minecraft/files/minecraft@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/minecraft/files/minecraft@.service b/roles/minecraft/files/minecraft@.service index 62a5a38..4a6209c 100644 --- a/roles/minecraft/files/minecraft@.service +++ b/roles/minecraft/files/minecraft@.service @@ -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=/bin/sleep 10 -Restart=on-failure +Restart=always [Install] WantedBy=multi-user.target