Преглед изворни кода

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@149 54d463be-8e91-2dee-dedb-b68131a5f0ec

Nasedo пре 20 година
родитељ
комит
22763ca3cb
3 измењених фајлова са 48 додато и 0 уклоњено
  1. 16 0
      char-server.sh
  2. 16 0
      login-server.sh
  3. 16 0
      map-server.sh

+ 16 - 0
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

+ 16 - 0
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

+ 16 - 0
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