Update nginxproxymanager.sh

This commit is contained in:
CanbiZ (MickLesk)
2026-03-23 11:56:08 +01:00
parent 525049a690
commit a998d3bbcb

View File

@@ -219,6 +219,7 @@ EOF
msg_info "Starting Services"
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager
systemctl daemon-reload
systemctl enable -q --now openresty
systemctl enable -q --now npm