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",