From: Zeljko Boros Date: Sat, 8 May 2021 22:01:48 +0000 (+0200) Subject: clamav PID introduced again X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=HEAD;p=monit-cn.git clamav PID introduced again --- diff --git a/debian/changelog b/debian/changelog index 01ee995..a94fc2e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ monit-cn (1:5.26.0+cn10u2) stable; urgency=low * Dodana konfiguracija za Bacula File Daemon * Promjena templatea bacula-fd.conf u postinstu - * Ne provjerava se PID za clamav i vsftpd + * Ne provjerava se PID za vsftpd jer ga ne generira -- Zeljko Boros Wed, 21 Apr 2021 12:47:18 +0200 diff --git a/debian/monit-cn/usr/share/monit-cn/vsftpd.conf b/debian/monit-cn/usr/share/monit-cn/vsftpd.conf index b6819e5..ae4789e 100644 --- a/debian/monit-cn/usr/share/monit-cn/vsftpd.conf +++ b/debian/monit-cn/usr/share/monit-cn/vsftpd.conf @@ -5,7 +5,7 @@ # ## End - Generated by CARNet package monit-cn -check process vsftpd with pidfile "/var/run/vsftpd/vsftpd.pid" +check process vsftpd matching "/usr/sbin/vsftpd" start program = "/etc/init.d/vsftpd start" stop program = "/etc/init.d/vsftpd stop" if failed host 127.0.0.1 port 21 protocol ftp diff --git a/monit-cn/clamd.conf b/monit-cn/clamd.conf index 7a07191..f81fcc1 100644 --- a/monit-cn/clamd.conf +++ b/monit-cn/clamd.conf @@ -5,7 +5,7 @@ # ## End - Generated by CARNet package monit-cn -check process clamd matching "/usr/sbin/clamd" +check process clamd with pidfile "/var/run/clamav/clamd.pid" start program = "/etc/init.d/clamav-daemon start" stop program = "/etc/init.d/clamav-daemon stop" if failed unixsocket "/var/run/clamav/clamd.ctl"