diff --git a/Documentation/Reference/MaxCtrl.md b/Documentation/Reference/MaxCtrl.md index c6faa8907..53f313e4f 100644 --- a/Documentation/Reference/MaxCtrl.md +++ b/Documentation/Reference/MaxCtrl.md @@ -590,7 +590,8 @@ of parameters can be altered at runtime: "auth_read_timeout", "auth_write_timeout", "admin_auth", - "admin_log_auth_failures" + "admin_log_auth_failures", + "passive" ] ## rotate diff --git a/maxctrl/autodoc.sh b/maxctrl/autodoc.sh index 2a1d8a0a1..df7673248 100755 --- a/maxctrl/autodoc.sh +++ b/maxctrl/autodoc.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Install dependencies +npm i + ITEMS=`node maxctrl.js help|awk '/^$/{p=0} {if(p){print $1}}/Commands:/{p=1}'` TOC=$(for i in $ITEMS diff --git a/maxctrl/lib/alter.js b/maxctrl/lib/alter.js index e374802ae..73dcb4fbc 100644 --- a/maxctrl/lib/alter.js +++ b/maxctrl/lib/alter.js @@ -35,7 +35,8 @@ const maxscale_params = [ 'auth_read_timeout', 'auth_write_timeout', 'admin_auth', - 'admin_log_auth_failures' + 'admin_log_auth_failures', + 'passive' ] exports.command = 'alter '