Files
Open-RSC-Docker-Home/Linux_Run_Production_Server.sh
2018-08-20 08:17:50 -04:00

20 lines
460 B
Bash
Executable File

#!/bin/bash
# Verifies permissions are set correctly
sudo chmod -R 777 Game
# Backs up all databases
./Linux_Backup_Databases.sh
# Run the game server in a detached screen
echo ""
echo ""
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 ""
cd Game/server
screen -dmS name ./ant_launcher.sh