Jump to content
  • 0

Frozen Linux .sh


Cronia

Question

paidia opoios exei to 

 

startLoginServer.sh

kai to

startGameServer.sh gia frozen dioti den to exei o server... na mou to stili euxarist opoly  ^-^

Link to comment
Share on other sites

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

#!/bin/bash

cd /home/user/server/loginserver
echo "try to kill all realm screens"
while
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;
do
echo "realm=$pid_realm";
kill $pid_realm;
done
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

Guest
This topic is now closed to further replies.


×
×
  • Create New...