summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--char-server.sh16
-rw-r--r--login-server.sh16
-rw-r--r--map-server.sh16
3 files changed, 48 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
diff --git a/login-server.sh b/login-server.sh
new file mode 100644
index 000000000..e37645ed5
--- /dev/null
+++ b/login-server.sh
@@ -0,0 +1,16 @@
+#/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 >> servlog.txt
+else
+echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
+./login-server
+fi
+
+sleep 5
+
+done
diff --git a/map-server.sh b/map-server.sh
new file mode 100644
index 000000000..04a635463
--- /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