mirror of
https://github.com/kaboomserver/framework.git
synced 2025-01-06 14:50:44 +00:00
cron: ensure PATH variable contains necessary paths
This commit is contained in:
parent
4fd8fe880a
commit
abdffc22db
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
# Ensure cron knows where commands like 'su' and 'reboot' are located
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
|
||||
|
||||
# Start the Minecraft server after an OS reboot
|
||||
@reboot su server -c '~/framework/script/init.sh'
|
||||
|
||||
|
|
Loading…
Reference in a new issue