Good day!
How to make this work?
./login-server.sh has ./login-server
./map-server.sh has ./map-server
./char-server.sh has char-server on script, however when running it says ./login-server, ./map-server and char-server no such directory. what file should i need to run the script?
How to make this work?
./login-server.sh has ./login-server
./map-server.sh has ./map-server
./char-server.sh has char-server on script, however when running it says ./login-server, ./map-server and char-server no such directory. what file should i need to run the script?
Code:
#/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