aboutsummaryrefslogtreecommitdiff
path: root/gogs_supervisord.sh
diff options
context:
space:
mode:
authorjack <ac861219@gmail.com>2014-05-12 21:13:05 +0800
committerjack <ac861219@gmail.com>2014-05-12 21:13:05 +0800
commit7ec3f1b2d88c9f8f92c6377ec71fcd018ae80d9e (patch)
tree9ea41b008fa09470d6236191648912641255de32 /gogs_supervisord.sh
parent1482bd8fb4d03f07db0d1a7f60d752357140a91f (diff)
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.
Diffstat (limited to 'gogs_supervisord.sh')
-rw-r--r--gogs_supervisord.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gogs_supervisord.sh b/gogs_supervisord.sh
index fb8b9b53..2c7c6539 100644
--- a/gogs_supervisord.sh
+++ b/gogs_supervisord.sh
@@ -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