This commit is contained in:
Tobias 2025-11-05 09:44:32 +01:00 committed by GitHub
parent 74fed32323
commit 519119fe2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,9 +162,6 @@ WantedBy=multi-user.target
EOF
msg_ok "Created Service"
motd_ssh
customize
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
@ -172,6 +169,9 @@ systemctl enable -q --now openresty
systemctl enable -q --now npm
msg_ok "Started Services"
motd_ssh
customize
msg_info "Cleaning up"
systemctl restart openresty
$STD apt -y autoremove