Browse Source

Merge pull request #1011 from 0xJacky/dev

fix(install): update Nginx UI service status check from "started" to "running"
Jacky 3 days ago
parent
commit
3b674fc79f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -626,7 +626,7 @@ main() {
             rc-update add nginx-ui default
             rc-update add nginx-ui default
             sleep 1s
             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."
                 echo "info: Started and added the Nginx UI service to default runlevel."
             else
             else
                 echo -e "${FontYellow}warning: Failed to start the Nginx UI service.${FontSuffix}"
                 echo -e "${FontYellow}warning: Failed to start the Nginx UI service.${FontSuffix}"