Update nginxproxymanager.sh

enable services after update
fixes https://github.com/tteck/Proxmox/issues/1368
This commit is contained in:
tteckster 2023-04-27 01:34:39 -04:00 committed by GitHub
parent 10deb58fcb
commit 13e65979ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"