From 74007d3f722cdb68349b37abf747704238b6aed9 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 21 Mar 2026 19:12:04 +0100 Subject: [PATCH] fix(nginxproxymanager): add missing systemctl daemon-reload before enable Without daemon-reload, systemd doesn't know about the new openresty.service unit file, causing enable --now to fail. --- install/nginxproxymanager-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 21759bad2..3c1b2f7b9 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -188,6 +188,7 @@ msg_ok "Created Service" 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 systemctl restart openresty