On the first launch of the server during the install, a screen is explicitly created for Pinecraft
su - $user -c "/usr/bin/screen -dmS Pinecraft ${instdir}server"
But when you start the server from ~/minecraft/server, there is no screen session for Pinecraft, so the stop script doesn't work, and the only way to safely stop the server is by typing stop into the minecraft console.
You can make a separate run script or run it manually with /usr/bin/screen -S Pinecraft ~/minecraft/server, but that's not ideal.
On the first launch of the server during the install, a screen is explicitly created for Pinecraft
su - $user -c "/usr/bin/screen -dmS Pinecraft ${instdir}server"But when you start the server from ~/minecraft/server, there is no screen session for Pinecraft, so the stop script doesn't work, and the only way to safely stop the server is by typing
stopinto the minecraft console.You can make a separate run script or run it manually with
/usr/bin/screen -S Pinecraft ~/minecraft/server, but that's not ideal.