[monit] ajout de rsyslog (au lieu de syslog-ng)

This commit is contained in:
Daniel STAN 2013-03-08 16:07:57 +01:00
parent 1226751f10
commit ac81f972c4

View file

@ -185,7 +185,8 @@ service("ssh",
extra=["if failed port 22 protocol ssh timeout 30 seconds then restart",
"if children > 200 then restart"])
service("syslog-ng",
if has('rsyslog-client') or has('rsyslog-server'):
service(None, name="rsyslog",
extra=["depend on file/var/log/syslog"])
service("ups-monitor",