Update nginxproxymanager.sh

enable services after update
fixes https://github.com/tteck/Proxmox/issues/1368
pull/1392/head
tteckster 2 years ago committed by GitHub
parent 10deb58fcb
commit 13e65979ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -165,9 +165,8 @@ 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 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 -q --now openresty
systemctl start openresty systemctl enable -q --now npm
systemctl start npm
msg_ok "Started Services" msg_ok "Started Services"
msg_info "Cleaning up" msg_info "Cleaning up"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.