From 3414ecb4f6dc0acb5e368eeeeb73a869350b467a Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 25 Jan 2024 15:46:22 +0100 Subject: [PATCH] validation pour Maxscale --- HowtoCheckconf.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/HowtoCheckconf.md b/HowtoCheckconf.md index 36e03c05..4a076f59 100644 --- a/HowtoCheckconf.md +++ b/HowtoCheckconf.md @@ -56,21 +56,18 @@ Pour valider une clé publique : ~~~ # smtpd -n - ~~~ ### Postfix ~~~ # postconf >/dev/null - ~~~ ### Spamassasin ~~~ spamassassin --lint - ~~~ ## DNS @@ -80,7 +77,6 @@ spamassassin --lint ~~~ # named-checkzone domain /path/to/zone # named-checkconf /etc/bind/named.conf - ~~~ ### NSD @@ -93,7 +89,6 @@ spamassassin --lint ~~~ # unbound-checkconf /var/unbound/etc/unbound.conf - ~~~ ## MySQL @@ -102,6 +97,12 @@ spamassassin --lint # /usr/sbin/mysqld --help ~~~ +## MaxScale + +~~~ +$ sudo -u maxscale maxscale --config-check --config /path/to/config.cnf +~~~ + ## DHCP ### dhcpd @@ -123,14 +124,12 @@ spamassassin --lint ~~~ # haproxy -c -f /etc/haproxy/haproxy.cfg - ~~~ ### httpd ~~~ # httpd -dnv - ~~~ ### Fail2ban @@ -156,14 +155,12 @@ spamassassin --lint ~~~ # nginx -t - ~~~ ### Php ~~~ # php5-fpm -t - ~~~ ### Varnish