summaryrefslogtreecommitdiff
path: root/map-server.sh
blob: 0a9cdd00d7ae2fd2271363dd06392147458102fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#/bin/sh
#Hi my naem is Kirt and I liek anime

ulimit -Sc unlimited

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

sleep 5

done