avoid uid too small, update xml conf

master
Cold-Egg 5 years ago
parent cbc0b4658d
commit 51026ae832

@ -35,9 +35,14 @@ app_download(){
docker-compose exec ${CONT_NAME} su -c "appinstallctl.sh -app ${1} -domain ${2} -vhname ${DEMO_VH}" 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(){ main(){
store_credential ${DEMO_VH} store_credential ${DEMO_VH}
app_download ${APP_NAME} ${DOMAIN} app_download ${APP_NAME} ${DOMAIN}
lsws_restart
} }
while [ ! -z "${1}" ]; do while [ ! -z "${1}" ]; do

@ -146,6 +146,12 @@
<handler>lsphp7</handler> <handler>lsphp7</handler>
</scriptHandler> </scriptHandler>
</scriptHandlerList> </scriptHandlerList>
<cache>
<cacheEngine>7</cacheEngine>
<storage>
<cacheStorePath>/var/www/lscache/</cacheStorePath>
</storage>
</cache>
<phpConfig> <phpConfig>
<maxConns>35</maxConns> <maxConns>35</maxConns>
<env>PHP_LSAPI_CHILDREN=35</env> <env>PHP_LSAPI_CHILDREN=35</env>
Loading…
Cancel
Save