Minho 8 лет назад
Родитель
Сommit
cf8185e558
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      start.sh

+ 1 - 1
start.sh

@@ -31,6 +31,6 @@ if [ ! -z $HTTP_PORT] ; then
     sed -i 's/^httpport.*/httpport='$HTTP_PORT'/g' conf/app.conf
 fi
 
-sed -i 's/^runmode.*/runmode=prod'
+sed -i 's/^runmode.*/runmode=prod/g' conf/app.conf
 
 /go/src/github.com/lifei6671/godoc/godoc_linux_amd64