diff --git a/HowtoCheckconf.md b/HowtoCheckconf.md new file mode 100644 index 00000000..755638b2 --- /dev/null +++ b/HowtoCheckconf.md @@ -0,0 +1,132 @@ +--- +categories: system +title: Howto Checkconf +... + +Avant de redémarrer un daemon, il vaut mieux s'assurer que sa +configuration est correcte. Cette page se veut être une cheat sheet +des différentes commandes existantes. + +Le classement est fait par rapport au port réservé pour le logiciel +puis par ordre alphabétique. + +# FTP + +## proftpd + +~~~ +# + +~~~ + +# SSH + +## OpenSSH + +~~~ +# /sshd -T -f /etc/ssh/sshd_config + +~~~ + +# Mail + +## OpenSMTPD + + +~~~ +# + +~~~ + +## Postfix + +~~~ +# + +~~~ + +# DNS + +## Bind + +~~~ +# named-checkzone domain /path/to/zone +# named-checkconf /etc/bind/named.conf + +~~~ + +## NSD + +~~~ +# + +~~~ + +## Unbound + +~~~ +# + +~~~ + +# HTTP + +## Apache + +~~~ +# apachectl -t + +~~~ + +## Haproxy + +~~~ +# haproxy -c -f /etc/haproxy/haproxy,cfg + +~~~ + +## httpd + +~~~ +# httpd -dnb + +~~~ + +## Nginx + +~~~ +# nginx -t + +~~~ + +## Varnish + +~~~ +# varnishd -Cf /etc/varnish/default.vcl > /dev/null + +~~~ + +# Imap / pop + +## courrier + +~~~ +# + +~~~ + +## Dovecot + +~~~ +# + +~~~ + +# BGP + +## OpenBGPD + +~~~ +# bgpd -nf /etc/bgpd.conf + +~~~