summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@monitoring.shack>2012-09-13 23:41:28 +0000
committerroot <root@monitoring.shack>2012-09-13 23:41:28 +0000
commit24030c80df40781c13bcbeb407a6547dc98069be (patch)
treec8586aa0ba05571a407780450a761dadd7273ff1
parentdb849a18e1659ff28433384d2cdca2989a6d5df0 (diff)
add init script for supervisor
-rw-r--r--god/twinter/init.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/god/twinter/init.sh b/god/twinter/init.sh
new file mode 100644
index 00000000..b9cd1f46
--- /dev/null
+++ b/god/twinter/init.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd $(dirname $(readlink -f $0))
+while sleep 120 ;do
+ python init.py
+done