소스 검색

fix(install): update Nginx UI service status check from "started" to "running"

Jacky 1 일 전
부모
커밋
9d39b7607d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -626,7 +626,7 @@ main() {
             rc-update add nginx-ui default
             sleep 1s
 
-            if rc-service nginx-ui status | grep -q "started"; then
+            if rc-service nginx-ui status | grep -q "running"; then
                 echo "info: Started and added the Nginx UI service to default runlevel."
             else
                 echo -e "${FontYellow}warning: Failed to start the Nginx UI service.${FontSuffix}"