Explorar o código

Update nginxproxymanager.sh

prep for v2.10.2
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
4ca034ed11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ct/nginxproxymanager.sh

+ 1 - 1
ct/nginxproxymanager.sh

@@ -158,7 +158,7 @@ EOF
   msg_ok "Initialized Backend"
 
   msg_info "Starting Services"
-  sed -i 's/^pid/#pid/' /usr/local/openresty/nginx/conf/nginx.conf
+  sed -i -e 's/^pid/#pid/' -e 's/^user/#user/' /usr/local/openresty/nginx/conf/nginx.conf
   systemctl enable npm &>/dev/null
   systemctl start openresty
   systemctl start npm