_game="spigot" _user="craftbukkit" _server_root="/srv/craftbukkit" post_upgrade() { echo "The management script switched from GNU screen to tmux." echo "Manual intervention is needed to close the previous GNU screen sessions:" echo "Use \`sudo -u ${_user} screen -S ${_game} -rx\` to attach to the ${_game} session and stop it." echo "Do the same for the \`idle_server_${_game}\` session if one is running." } post_install() { echo "The world data is stored under ${_server_root} and the server runs as ${_user} user to increase security." echo "Use the ${_game} script under /usr/bin/${_game} to start, stop or backup the server." echo "Adjust the configuration file under /etc/conf.d/${_game} to your liking." echo "For the server to start you have to accept the EULA in ${_server_root}/eula.txt !" echo "The EULA file is generated after the first server start." }