Jump to content
  • 0

Frozen Linux .sh



4 answers to this question

Recommended Posts

  • 0
#! /bin/sh

cd /home/user/server/gameserver
echo server screen...
screen -AdmS server ./GameServer_loop.sh
echo start gameserver...

για gamsesrver 


kai gia login


cd /home/user/server/loginserver
echo "try to kill all realm screens"
pid_realm=`ps ax | grep 'SCREEN -AdmS realm ./LoginServer_loop.sh' | grep -v "grep" -m 1 | sed 's/[^0-9]?\([0-9]*\).*/\1/; s/[^0-9]*//'`
ps -p $pid_realm > /dev/null 2>&1;
echo "realm=$pid_realm";
kill $pid_realm;
echo realm screen...
screen -AdmS realm ./LoginServer_loop.sh
echo start loginserver... 

Link to comment
Share on other sites

  • 0

an den ta exei ipopsiazomai precompiled pack opote koita na pareis kati poio kainourio opos i teleftaia version...

Link to comment
Share on other sites

  • 0

oxi agori mou to pack ine compiled to teleuteo revision anyway mpori kapoios na lock 

(eyxaristw olous para poly kai + rosalie pou m ta estile se pm an k den itan ayto p epsaxna  ;D )

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock