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"
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
systemctl enable -q --now openresty
systemctl enable -q --now npm
msg_ok "Started Services"
msg_info "Cleaning up"