Unless we replace            with path "/usr/sbin/httpd" as well, it does 
not help..
So if we want to support other distros, we need to add one more holder.

Thanks,

May the source be with you,

Jess Portnoy

On Mon, 17 Feb 2014, Tan-Tan wrote:

> 
> In configurations/monit/monit.d/httpd.template.rc:
> 
> > @@ -1,7 +1,7 @@
> >          check process apache
> >             with pidfile "/var/run/httpd/httpd.pid"
> > -           start program = "service @APACHE_SERVICE@ start" with timeout 60 seconds
> > -           stop program = "service @APACHE_SERVICE@ stop"
> > +           start program = "/sbin/service httpd start" with timeout 60 seconds
> 
> Why did you change it?
> We should support Ubuntu as well.
> 
> —
> Reply to this email directly or view it on
> GitHub.[5270205__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwODE5NDEzNSwiZGF0YSI6eyJpZCI6MjU4MzgwNjF9fQ==--03da50802521317c35c59e3d1bb6d884d95a7c7f.gif]
> 
> 
>