Script cleanup

This commit is contained in:
Marwolf
2018-07-16 17:34:04 -04:00
parent 98f2bd6394
commit bf3e60632b
17 changed files with 136 additions and 17 deletions

View File

@@ -1,5 +1,26 @@
#!/bin/bash
echo "Launching in a new window. Type 'screen -r' to view the live server screen."
echo "Use CTRL + A + D to detach the live server screen."
# Check for any updates to the game server
echo "Pulling recent updates from the Open-RSC Game repository."
echo ""
echo ""
sudo make pull
echo ""
echo ""
# Compile the game server
echo "Compiling the game server."
echo ""
echo ""
sudo Ant/bin/ant -f Game/server/build.xml compile
echo ""
echo ""
# Run the game server in a detached screen
echo "Launching the game server in a new screen."
echo ""
echo "Type 'screen -r' to access the game server screen."
echo "Use CTRL + A + D to detach the live server screen so it runs in the background."
echo ""
echo ""
screen -dmS name ./ant_launcher.sh