소스 검색

Update nginxproxymanager-install.sh

prep for v2.10.2
tteckster 2 년 전
부모
커밋
1088e52b61
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      install/nginxproxymanager-install.sh

+ 1 - 1
install/nginxproxymanager-install.sh

@@ -181,7 +181,7 @@ motd_ssh
 root
 root
 
 
 msg_info "Starting Services"
 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
 $STD systemctl enable --now openresty
 $STD systemctl enable --now openresty
 $STD systemctl enable --now npm
 $STD systemctl enable --now npm
 msg_ok "Started Services"
 msg_ok "Started Services"