mirror of
https://gitee.com/gitea/gitea.git
synced 2024-11-30 10:47:40 +08:00
add tip to modify the command path, add check the log folder, if not then create it.
This commit is contained in:
parent
7ec3f1b2d8
commit
83a10ce880
7
gogs_supervisord.sh
Normal file → Executable file
7
gogs_supervisord.sh
Normal file → Executable 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…
Reference in New Issue
Block a user