Ich wollte mal fragen ob man einen "Automatischen" Serverstarter erstellen kann.
Ich weiß nicht ob es geht und wie es geht.
Aus diesem Grunde frage ich eigentlich euch!
Unzwar handelt es sich um diese .sh datei :
PHP Code:
#!/bin/sh
echo "Starte Server..."
cd db
./db &
cd ..
cd auth
./auth &
cd ..
cd channel1
cd game_60
./game &
cd ..
cd game_104
./game &
cd ..
cd game_d
./game &
cd ..
cd game_m1
./game &
cd ..
cd game_np
./game &
cd ..
cd game_r
./game &
cd ..
cd ..
cd channel2
cd game_60
./game &
cd ..
cd game_104
./game &
cd ..
cd game_d
./game &
cd ..
cd game_m1
./game &
cd ..
cd game_np
./game &
cd ..
cd game_r
./game &
cd ..
cd ..
cd game99
./game &
cd ..
sleep 10
echo "Server gestartet!"
Eventuell mit :
PHP Code:
sleep 60*10
Villt. kann mir jmd. von euch Helfen.






