Update nginxproxymanager.sh

Python interpreter will include packages installed in the global site-packages.
This commit is contained in:
tteckster 2023-04-11 11:02:15 -04:00 committed by GitHub
parent 322de1f407
commit d0ccf41b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,7 @@ EOF
msg_info "Starting Services"
sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
systemctl enable npm &>/dev/null
systemctl start openresty
systemctl start npm