Fix (?) auto reboot

This commit is contained in:
LunaDevelops 2021-07-16 12:01:02 -03:00 committed by GitHub
parent 4fd8fe880a
commit 49861c05d7
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 /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' && /sbin/reboot --reboot