diff options
Diffstat (limited to 'char-server.sh')
-rw-r--r-- | char-server.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/char-server.sh b/char-server.sh new file mode 100644 index 000000000..39c1882ad --- /dev/null +++ b/char-server.sh @@ -0,0 +1,16 @@ +#/bin/sh
+#Hi my naem is Kirt and I liek anime
+
+ulimit -Sc unlimited
+
+while [ 3 ] ; do
+if [ -f .stopserver3 ] ; then
+echo server marked down >> servlog.txt
+else
+echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
+./char-server
+fi
+
+sleep 5
+
+done
|