wiki/HowtoCheckconf.md

133 lines
996 B
Markdown
Raw Normal View History

2017-03-31 00:43:51 +02:00
---
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
~~~