Browse Source

add tip to modify the command path, add check the log folder, if not then create it.

tags/v1.2.0-rc1
jack 12 years ago
parent
commit
83a10ce880
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      gogs_supervisord.sh

+ 7
- 0
gogs_supervisord.sh View File

@@ -1,8 +1,15 @@
#!/bin/sh

echo 'plase remember to modify the command path in etc/conf/supervisord.conf(line 23)'

PID="/tmp/supervisord.pid"
CONF="conf/etc/supervisord.conf"

LOGDIR="log"
if [ ! -d $LOGDIR ]; then
mkdir $LOGDIR
fi

stop() {
if [ -f $PID ]; then
kill `cat -- $PID`


Loading…
Cancel
Save