diff --git a/gogs_supervisord.sh b/gogs_supervisord.sh
old mode 100644
new mode 100755
index 2c7c6539b..43908094b
--- a/gogs_supervisord.sh
+++ b/gogs_supervisord.sh
@@ -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`