|
@@ -1,8 +1,15 @@
|
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
+echo 'plase remember to modify the command path in etc/conf/supervisord.conf(line 23)'
|
|
|
|
|
+
|
|
|
PID="/tmp/supervisord.pid"
|
|
PID="/tmp/supervisord.pid"
|
|
|
CONF="conf/etc/supervisord.conf"
|
|
CONF="conf/etc/supervisord.conf"
|
|
|
|
|
|
|
|
|
|
+LOGDIR="log"
|
|
|
|
|
+if [ ! -d $LOGDIR ]; then
|
|
|
|
|
+ mkdir $LOGDIR
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
stop() {
|
|
stop() {
|
|
|
if [ -f $PID ]; then
|
|
if [ -f $PID ]; then
|
|
|
kill `cat -- $PID`
|
|
kill `cat -- $PID`
|