aboutsummarylogtreecommitdiffstats
path: root/spigot.install
diff options
context:
space:
mode:
Diffstat (limited to 'spigot.install')
-rwxr-xr-xspigot.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/spigot.install b/spigot.install
index 8824451cb10b..99a3808b999a 100755
--- a/spigot.install
+++ b/spigot.install
@@ -2,6 +2,13 @@ _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."