From: Zeljko Boros Date: Wed, 21 Apr 2021 11:08:00 +0000 (+0200) Subject: 3 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=53851729ff5f43d1c6a2c3f29482ec61cb7d8eb9;p=monit-cn.git 3 --- diff --git a/debian/monit-cn/usr/share/monit-cn/vsftpd.conf b/debian/monit-cn/usr/share/monit-cn/vsftpd.conf index ae4789e..b6819e5 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 matching "/usr/sbin/vsftpd" +check process vsftpd with pidfile "/var/run/vsftpd/vsftpd.pid" 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/vsftpd.conf b/monit-cn/vsftpd.conf index b6819e5..ae4789e 100644 --- a/monit-cn/vsftpd.conf +++ b/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