Logic corrections

This commit is contained in:
Marwolf
2018-08-13 12:43:22 -04:00
parent 7b6fe9c460
commit 0b2b6df94e
2 changed files with 3 additions and 7 deletions

View File

@@ -497,9 +497,7 @@ if [ "$choice" == "1" ]; then
echo "You have picked ${GREEN}Set up for single player!${NC}" echo "You have picked ${GREEN}Set up for single player!${NC}"
echo "" echo ""
echo "" echo ""
echo "Starting up the Docker containers and stopping any existing ones." echo "Starting up the Docker containers. If error, do \"sudo make stop\" and rerun script."
echo ""
sudo make stop
echo "" echo ""
sudo make start-single-player sudo make start-single-player
echo "" echo ""
@@ -532,9 +530,7 @@ elif [ "$choice" == "2" ]; then
echo "You have picked ${GREEN}deployment for a publicly hosted server!${NC}" echo "You have picked ${GREEN}deployment for a publicly hosted server!${NC}"
echo "" echo ""
echo "" echo ""
echo "Starting up the Docker containers and stopping any existing ones." echo "Starting up the Docker containers. If error, do \"sudo make stop\" and rerun script."
echo ""
sudo make stop
echo "" echo ""
sudo make start sudo make start
echo "" echo ""

View File

@@ -8,4 +8,4 @@ echo ""
echo "Console output is being saved to gameserver.log" echo "Console output is being saved to gameserver.log"
echo "" echo ""
cd Game/server cd Game/server
java -jar Open_RSC_Server.jar > gameserver.log java -jar Open_RSC_Server.jar > ../../gameserver.log