avoid uid too small, update xml conf

This commit is contained in:
Cold-Egg
2020-02-12 16:09:02 -05:00
parent cbc0b4658d
commit 51026ae832
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -35,9 +35,14 @@ app_download(){
docker-compose exec ${CONT_NAME} su -c "appinstallctl.sh -app ${1} -domain ${2} -vhname ${DEMO_VH}"
}
lsws_restart(){
docker-compose exec ${CONT_NAME} su -c '/usr/local/lsws/bin/lswsctrl restart >/dev/null'
}
main(){
store_credential ${DEMO_VH}
app_download ${APP_NAME} ${DOMAIN}
lsws_restart
}
while [ ! -z "${1}" ]; do
@@ -146,6 +146,12 @@
<handler>lsphp7</handler>
</scriptHandler>
</scriptHandlerList>
<cache>
<cacheEngine>7</cacheEngine>
<storage>
<cacheStorePath>/var/www/lscache/</cacheStorePath>
</storage>
</cache>
<phpConfig>
<maxConns>35</maxConns>
<env>PHP_LSAPI_CHILDREN=35</env>