disable nginx systemd check

This commit is contained in:
Olof hagsand 2020-11-06 20:11:01 +01:00
parent 6ecb0d5232
commit 5088f23e6a
2 changed files with 6 additions and 6 deletions

View file

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