diff options
Diffstat (limited to 'map-server.sh')
-rw-r--r-- | map-server.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/map-server.sh b/map-server.sh new file mode 100644 index 000000000..f66e9f1c5 --- /dev/null +++ b/map-server.sh @@ -0,0 +1,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 >> servlog.txt
+else
+echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
+./map-server
+fi
+
+sleep 5
+
+done
|