Merge pull request #1011 from 0xJacky/dev

fix(install): update Nginx UI service status check from "started" to "running"
This commit is contained in:
Jacky 2025-05-07 11:28:34 +08:00 committed by GitHub
commit 3b674fc79f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}"