Jump to content
×
×
  • Create New...
  • 0

Question about shoutdown server


AlCapone

Question

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

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.