diff --git a/Run_Production_Linux_Game_Server.sh b/Run_Production_Linux_Game_Server.sh new file mode 100644 index 0000000..56b2253 --- /dev/null +++ b/Run_Production_Linux_Game_Server.sh @@ -0,0 +1,5 @@ +#!/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." +echo "" +screen -dmS name ./ant_launcher.sh diff --git a/ant_launcher.sh b/ant_launcher.sh new file mode 100644 index 0000000..f38172d --- /dev/null +++ b/ant_launcher.sh @@ -0,0 +1,17 @@ +#!/bin/bash +echo "Pulling recent updates from the Open-RSC Game repo" +sudo make pull +echo "" +echo "" + +#Compile +echo "Compiling the game server" +echo "" +echo "" +sudo Ant/bin/ant -f Game/server/build.xml compile + +#Run game server +echo "Launching the game server" +echo "" +echo "" +Ant/bin/ant -f Game/server/build.xml runserver