On Tue, Jun 21, 2016 at 12:49:49AM +0200, Antoine Jacoutot wrote: > On Mon, Jun 20, 2016 at 11:16:53PM +0200, Michael Lechtermann wrote: > > Hi, > > > > the current apache2 rc.d script isn’t working properly as it is. The script > > doesn’t detect if the process was started successfully and can neither > > stop, reload or even check it. The following patch fixes it for me:
Should be fixed in current. Thanks for the report. > > Thanks, I'll have a look at it. > > > --- apache2.rc.orig Mon Jun 20 21:07:37 2016 > > +++ apache2.rc Mon Jun 20 21:11:56 2016 > > @@ -6,4 +6,10 @@ > > > > . /etc/rc.d/rc.subr > > > > +pexp="httpd2:.*${daemon}" > > + > > +rc_reload() { > > + pkill -HUP -oxf "${pexp}" > > +} > > + > > rc_cmd $1 > > > > > > > > Best regards, > > Michael > > > > -- > Antoine -- Antoine