Jump to content
  • 0

Frozen Linux .sh


Question

Posted

paidia opoios exei to 

 

startLoginServer.sh

kai to

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

4 answers to this question

Recommended Posts

  • 0
Posted
#! /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... 

  • 0
Posted

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 )

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..