Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster d0ccf41b59
Update nginxproxymanager.sh
Python interpreter will include packages installed in the global site-packages.
2023-04-11 11:02:15 -04:00
tteckster 322de1f407
Update nginxproxymanager-install.sh
Python interpreter will include packages installed in the global site-packages directory.
2023-04-11 10:34:18 -04:00
2 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,7 @@ EOF
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
systemctl enable npm &>/dev/null systemctl enable npm &>/dev/null
systemctl start openresty systemctl start openresty
systemctl start npm systemctl start npm

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"