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

This commit is contained in:
Jacky 2025-05-07 03:27:07 +00:00
parent c797a1be54
commit 9d39b7607d
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

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