03-14-2023, 02:25 PM
Just modify the files so ...
for run put this :
#!/bin/bash
while ( : ) do
DATE=`date`
if [ -r .shutdown ]; then
rm -f .shutdown
fi
./GameServer_d Start
DATE2=`date`
if [ -r .shutdown ]; then
echo "***** Shutdown $DATE ~ $DATE2" >> rebootlog
exit
fi
echo "!!!!! Reboot $DATE ~ $DATE2" >> rebootlog
sleep 2
done
For start put this :
./run GameServer_d_1 start &
Also make sure the name is GameServer_d
For test it u can just write ./GameServer_d too ....

