(Hopefully) fix reboot issue

For more accurate debugging, I'd need to reproduce the issue on one of my servers.
This commit is contained in:
Luna 2021-07-16 12:06:48 -03:00 committed by GitHub
parent 4fd8fe880a
commit 02e670e14d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Start the Minecraft server after an OS reboot
@reboot su server -c '~/framework/script/init.sh'
@reboot sleep 30 && /usr/bin/su server -c '~/framework/script/init.sh'
# Reset and reboot the server every 24 hours (0 0 * * * / at 00:00)
0 0 * * * su server -c '~/framework/script/reset.sh' && reboot
0 0 * * * /usr/bin/su server -c '~/framework/script/reset.sh' && /usr/sbin/reboot --reboot