Simplifying launch for production server
This commit is contained in:
5
Run_Production_Linux_Game_Server.sh
Normal file
5
Run_Production_Linux_Game_Server.sh
Normal file
@@ -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
|
||||
17
ant_launcher.sh
Normal file
17
ant_launcher.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user