Fixed install.sh start nginx-ui issue

This commit is contained in:
Jacky 2022-08-28 11:54:04 +08:00 committed by GitHub
parent 2d4c15e7f9
commit 376b0535f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -303,7 +303,7 @@ EOF
}
start_nginx_ui() {
if [[ -f ServicePath ]]; then
if [[ -f "$ServicePath" ]]; then
systemctl start nginx-ui
sleep 1s
if systemctl -q is-active nginx-ui; then