how to make a restart.sh file

I host as server on oracle vps and i have a start.sh file I want that when i type restart in the Minecraft console or ingame It run the restart.sh which stops the server then run start.sh
3 Replies
Admincraft Meta
Admincraft Meta6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by theviper912#0
Snowz
Snowz6mo ago
edit the spigot.yml file to use the start file
Viper
ViperOP6mo ago
how? should i add the restart-script line? how i can make it open in the same tmux session and wait for the server to fully close before opening

Did you find this page helpful?