From 666ac8933b56d123a605fee46d165a55dfcb39a1 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Sun, 9 May 2021 00:01:48 +0200 Subject: [PATCH] clamav PID introduced again --- debian/changelog | 2 +- debian/monit-cn/usr/share/monit-cn/vsftpd.conf | 2 +- monit-cn/clamd.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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" -- 1.7.10.4