# ::copy::
# ::maintainer::
#
# sometime dovecot and clamd die without complains or
# explanations, at least we can restart them
#
# amavisd (at the moment) is not prone to this problem
#
[check.auto-running-dovecot]
  savestate	false
  interval	10
  test		IS_RUNNING dovecot
  action_fail	sh /etc/init.d/dovecot start

[check.auto-running-clamd]
  savestate	false
  interval      15
  test          IS_RUNNING clamd
  action_fail   sh /etc/init.d/clamav-daemon start

#[check.auto-running-amavis]
  #savestate	false
  #interval	40
  #test		IS_RUNNING amavisd
  #action_fail	sh /etc/init.d/amavis start

