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}

View file

@ -416,11 +416,10 @@ module clixon-config {
type boolean;
default false;
description
"If set, load clixon-restconf module automatically. This also means
that the clixon restconf daemon gets its restconf-specific configuration
from that yang loaded in the backend running datastore instead of from
the clixon XML config file.
This only works with-restconf=evhtp, NOT with restconf=fcgi (nginx)
"If set, get restconf-specific configuration from the backend running datastore,
using clixon-restconf.yang.
If not set, load all config from local clixon XML config file.
This only applies to with-restconf=evhtp, NOT with restconf=fcgi (nginx)
A consequence is that if set, the following option in this YANG are obsolete:
CLICON_RESTCONF_IPV4_ADDR
CLICON_RESTCONF_IPV6_ADDR