Update nginxproxymanager-install.sh

Python interpreter will include packages installed in the global site-packages directory.
This commit is contained in:
tteckster 2023-04-11 10:34:18 -04:00 committed by GitHub
parent 76479a7733
commit 322de1f407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ root
msg_info "Starting Services" msg_info "Starting Services"
sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf 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
$STD systemctl enable --now openresty $STD systemctl enable --now openresty
$STD systemctl enable --now npm $STD systemctl enable --now npm
msg_ok "Started Services" msg_ok "Started Services"