summaryrefslogblamecommitdiff
path: root/login-server.sh
blob: 45990a6450a893fb3c4740120d539647bdfee44d (plain) (tree)
1
2
3
4
5
6
7
8
9





                                    
                                         
    
                                                                          



       
#/bin/sh
#Hi my naem is Kirt and I liek anime

ulimit -Sc unlimited

while [ 2 ] ; do
if [ -f .stopserver2 ] ; then
echo server marked down >> server-log.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> start-log.txt
./login-server
fi

sleep 5

done