summaryrefslogtreecommitdiff
path: root/char-server.sh
diff options
context:
space:
mode:
authorNasedo <Nasedo@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 04:36:06 +0000
committerNasedo <Nasedo@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 04:36:06 +0000
commitda116e9a6d43bc61e94f5b64e14a1378256a6e24 (patch)
tree0bf816f74ba755c320f96cb3b49747c86892af56 /char-server.sh
parente86b732c914d5eb6ba4fc68fe2e72c54ecfcec1e (diff)
downloadhercules-da116e9a6d43bc61e94f5b64e14a1378256a6e24.tar.gz
hercules-da116e9a6d43bc61e94f5b64e14a1378256a6e24.tar.bz2
hercules-da116e9a6d43bc61e94f5b64e14a1378256a6e24.tar.xz
hercules-da116e9a6d43bc61e94f5b64e14a1378256a6e24.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@149 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'char-server.sh')
-rw-r--r--char-server.sh16
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