Closed Rescue9 closed 10 years ago
Can't this be accomplished just by typing:
/etc/init.d/minecraft start ; screen -r minecraft
no need to include as a extra feature and increase the scripts complexity...
True. However, the extra code serves as a reminder to owners not to end minecraft from within the screen. Of course, it would be better if that reminder were shown by default, even if the screen boolean wasn't set true.
Added warning to users about proper shutdown. Because using 'stop' in screen console doesn't allow mc_stop script to execute, pid file is never removed. Proper shutdown is highly suggested.