# $Id: pptpd,v 1.1 2004/10/18 05:55:25 homyakov Exp $

check process pptpd with pidfile /var/run/pptpd.pid
	group pptp
	group servers
	start program = "/sbin/service pptpd start"
	stop  program = "/sbin/service pptpd stop"
	if failed host 213.33.238.113 port 1723 with type tcp then restart
	if 5 restarts with 5 cycles then timeout
	depend on pptpd_bin
	depend on pptpd_cf

check file pptpd_bin with path /usr/sbin/pptpd
	group pptp
	include /etc/monitrc.d/templates/rootbin

check file pptpd_cf with path /etc/pptpd.conf
	group postfix 
	include /etc/monitrc.d/templates/rootrc


