chore: conf check cli notes include conf result
This commit is contained in:
parent
c88badfa97
commit
3df4c8c57e
5
bin/emqx
5
bin/emqx
|
@ -836,7 +836,12 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
check_conf)
|
check_conf)
|
||||||
generate_config "check_only"
|
generate_config "check_only"
|
||||||
|
INCLUDE_CONFS=$(< "$RUNNER_ETC_DIR/emqx.conf" grep "include" |awk '{print $2}'|xargs)
|
||||||
|
if [ "$INCLUDE_CONFS" == "" ]; then
|
||||||
echo "$RUNNER_ETC_DIR/emqx.conf is ok"
|
echo "$RUNNER_ETC_DIR/emqx.conf is ok"
|
||||||
|
else
|
||||||
|
echo "$RUNNER_ETC_DIR/emqx.conf(include $INCLUDE_CONFS) is ok"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ctl)
|
ctl)
|
||||||
|
|
Loading…
Reference in New Issue