diff --git a/script/install_locally.sh b/script/install_locally.sh index 3b20639..aa94b66 100755 --- a/script/install_locally.sh +++ b/script/install_locally.sh @@ -160,13 +160,15 @@ if [[ ${EL_MINIMAL_ADDONS} = "False" ]]; then fi printf "\n" >> ${EL_CONFIG_FILE} -printf "workers = 0\n" >> ${EL_CONFIG_FILE} printf "max_cron_threads = 2\n" >> ${EL_CONFIG_FILE} if [[ ${EL_INSTALL_NGINX} = "True" ]]; then + printf "workers = 2\n" >> ${EL_CONFIG_FILE} printf "xmlrpc_interface = 127.0.0.1\n" >> ${EL_CONFIG_FILE} printf "netrpc_interface = 127.0.0.1\n" >> ${EL_CONFIG_FILE} printf "proxy_mode = True\n" >> ${EL_CONFIG_FILE} +else + printf "workers = 0\n" >> ${EL_CONFIG_FILE} fi #echo -e "\n---- Install Odoo with addons module ----"