From ac81f972c4a6d88da3e2baa76af05b4875836a0c Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Fri, 8 Mar 2013 16:07:57 +0100 Subject: [PATCH] [monit] ajout de rsyslog (au lieu de syslog-ng) --- Python/etc/monit/services | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 74f40a5..caa3788 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -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",