增加是否开启导出功能的选项

This commit is contained in:
lifei6671
2018-07-12 18:44:02 +08:00
parent 97f1d0f8a7
commit e694e63299
4 changed files with 13 additions and 0 deletions

View File

@@ -80,6 +80,11 @@ if [ ! -z $BASEURL ]; then
sed -i "s#baseurl=.*#baseurl=$BASEURL#g" conf/app.conf
fi
if [ ! -z $ENABLE_EXPORT ]; then
sed -i "s#enable_export=.*#baseurl=$ENABLE_EXPORT#g" conf/app.conf
fi
sed -i 's/^runmode.*/runmode=prod/g' conf/app.conf
/mindoc/mindoc_linux_amd64 install