disable nginx systemd check
This commit is contained in:
parent
6ecb0d5232
commit
5088f23e6a
2 changed files with 6 additions and 6 deletions
|
|
@ -50,6 +50,7 @@ if [ -f ./site.sh ]; then
|
|||
fi
|
||||
|
||||
# Auto-start nginx
|
||||
if false; then # Does not work on some platforms
|
||||
nginxactive=$(systemctl show nginx |grep ActiveState=active)
|
||||
if [ "${WITH_RESTCONF}" = "fcgi" ]; then
|
||||
if [ -z "$nginxactive" ]; then
|
||||
|
|
@ -64,7 +65,7 @@ else
|
|||
exit -1
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
# Test number from start
|
||||
: ${testnr:=0}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue