Jump to content

Question about shoutdown server


Recommended Posts

Hi guys I have a problem, when I shoutdown the server I recive this in virtualbox:

88cea8c4ef52a3a5cb37dbf158ff9802.png

 

Soo if I intent to start one more time dont work, need to reboot the virtual and then the server start.

My shut.sh is like this

#!/bin/sh
if [ -r ./pid ]; then
    touch .killscript
    kill -1 `cat ./pid`
fi

What could be wrong. Game 40k

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Stop killing database as a first core, database should be the last core to kill.

Is the last in kill :D

	echo -e "033[31m n Oprire Login ..033[0m"
	cd /usr/game/auth 
	./shut.sh &
	sleep 2
	clear
	echo -e "033[31m n Oprire CH1 ..033[0m"
	cd /usr/game/canal1
	./shut.sh &
	sleep 2
	clear
	echo -e "033[31m Oprire DB ..033[0m"
	cd /usr/game/db
	./shut.sh &
	sleep 2
	clear
	cd ../
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.