Power Slave Files
#18

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 ....



Messages In This Thread
[No subject] - by Stormax - 12-22-2022, 01:21 PM
[No subject] - by Nymphetamine - 12-23-2022, 06:14 PM
[No subject] - by Stormax - 12-23-2022, 08:09 PM
[No subject] - by rondo157 - 12-24-2022, 05:36 PM
[No subject] - by kdy - 12-25-2022, 08:28 PM
[No subject] - by Stormax - 12-25-2022, 08:32 PM
[No subject] - by kdy - 12-25-2022, 09:14 PM
[No subject] - by Stormax - 12-25-2022, 09:28 PM
[No subject] - by kdy - 12-25-2022, 09:32 PM
[No subject] - by Stormax - 12-25-2022, 10:20 PM
[No subject] - by kdy - 12-25-2022, 10:28 PM
[No subject] - by Stormax - 12-26-2022, 12:57 AM
[No subject] - by kdy - 12-26-2022, 01:23 AM
[No subject] - by Stormax - 12-26-2022, 01:34 AM
[No subject] - by Reza - 12-26-2022, 07:16 PM
[No subject] - by Stormax - 12-29-2022, 03:36 PM
[No subject] - by detxz - 03-14-2023, 10:03 AM
[No subject] - by Stormax - 03-14-2023, 02:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)