mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-21 19:29:53 +08:00
增加启动配置
This commit is contained in:
4
start.sh
4
start.sh
@@ -76,6 +76,10 @@ if [ ! -z $CACHE_REDIS_PASSWROD ]; then
|
|||||||
sed -i "s#cache_redis_password=.*#cache_redis_password=$CACHE_REDIS_PASSWROD#g" conf/app.conf
|
sed -i "s#cache_redis_password=.*#cache_redis_password=$CACHE_REDIS_PASSWROD#g" conf/app.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z $BASEURL ]; then
|
||||||
|
sed -i "s#baseurl=.*#baseurl=$BASEURL#g" conf/app.conf
|
||||||
|
fi
|
||||||
|
|
||||||
sed -i 's/^runmode.*/runmode=prod/g' conf/app.conf
|
sed -i 's/^runmode.*/runmode=prod/g' conf/app.conf
|
||||||
|
|
||||||
/go/src/github.com/lifei6671/mindoc/mindoc_linux_amd64 install
|
/go/src/github.com/lifei6671/mindoc/mindoc_linux_amd64 install
|
||||||
|
|||||||
Reference in New Issue
Block a user