diff options
author | root <root@monitoring.shack> | 2012-09-13 23:41:28 +0000 |
---|---|---|
committer | root <root@monitoring.shack> | 2012-09-13 23:41:28 +0000 |
commit | 24030c80df40781c13bcbeb407a6547dc98069be (patch) | |
tree | c8586aa0ba05571a407780450a761dadd7273ff1 | |
parent | db849a18e1659ff28433384d2cdca2989a6d5df0 (diff) |
add init script for supervisor
-rw-r--r-- | god/twinter/init.sh | 5 |
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 |