mirror of
https://github.com/kaboomserver/framework.git
synced 2024-06-01 17:31:19 +00:00
02e670e14d
For more accurate debugging, I'd need to reproduce the issue on one of my servers.
6 lines
279 B
Plaintext
6 lines
279 B
Plaintext
# Start the Minecraft server after an OS reboot
|
|
@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 * * * /usr/bin/su server -c '~/framework/script/reset.sh' && /usr/sbin/reboot --reboot
|