修改配置文件

pull/25/merge
lifei6671 2017-05-01 14:53:30 +08:00
parent dc2acb92c1
commit 4cf18af6eb
3 changed files with 7 additions and 9 deletions

View File

@ -1,8 +1,8 @@
appname = smartwebhook appname = godoc
httpport = 8181 httpport = 8181
runmode = dev runmode = dev
sessionon = true sessionon = true
sessionname = smart_webhook_id sessionname = mindoc_id
copyrequestbody = true copyrequestbody = true
#默认Session生成Key的秘钥 #默认Session生成Key的秘钥
@ -11,9 +11,6 @@ beegoserversessionkey=123456
sessionprovider=file sessionprovider=file
sessionproviderconfig=./logs sessionproviderconfig=./logs
#生成回调地址时完整的域名
base_url = https://hook.iminho.me
#时区设置 #时区设置
timezone = Asia/Shanghai timezone = Asia/Shanghai

View File

@ -1,9 +1,9 @@
appname = smartwebhook appname = godoc
# httpaddr = 127.0.0.1 # httpaddr = 127.0.0.1
httpport = 8181 httpport = 8181
runmode = dev runmode = dev
sessionon = true sessionon = true
sessionname = smart_webhook_id sessionname = mindoc_id
copyrequestbody = true copyrequestbody = true
#默认Session生成Key的秘钥 #默认Session生成Key的秘钥
@ -12,8 +12,6 @@ beegoserversessionkey=123456
sessionprovider=file sessionprovider=file
sessionproviderconfig=./logs sessionproviderconfig=./logs
#生成回调地址时完整的域名
base_url = https://hook.iminho.me
#时区设置 #时区设置
timezone = Asia/Shanghai timezone = Asia/Shanghai

View File

@ -36,5 +36,8 @@ if [ ! -z $httpport ] ; then
sed -i 's/^httpport.*/httpport='$httpport'/g' conf/app.conf sed -i 's/^httpport.*/httpport='$httpport'/g' conf/app.conf
fi fi
if [ ! -f "logs/log.log" ]; then
echo "" >> logs/log.log
fi
./$goFile ./$goFile