modify the file path

move etc/supervisord.conf to conf/etc/supervisord;
remove tmp folder, then all logs move to log folder;
move the supervisor.pid to /tmp folder.
This commit is contained in:
jack 2014-05-12 21:13:05 +08:00
parent 1482bd8fb4
commit 7ec3f1b2d8
3 changed files with 8 additions and 9 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
PID="tmp/supervisord.pid"
CONF="etc/supervisord.conf"
PID="/tmp/supervisord.pid"
CONF="conf/etc/supervisord.conf"
stop() {
if [ -f $PID ]; then