mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
Merge pull request #1011 from 0xJacky/dev
fix(install): update Nginx UI service status check from "started" to "running"
This commit is contained in:
commit
3b674fc79f
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue