Re: override pexp var in rc scripts

2019-03-13 Thread Kapetanakis Giannis
Fixed it by deleting /var/run/rc.d/pmacctd G On 13/03/2019 11:24, Kapetanakis Giannis wrote: > Hi, > > I'm trying to create a rc file for pmacctd. I've defined the pexp var but for > some reason it is not working. > I'm probably missing something not obvious to me. > > #!/bin/sh > # > >

override pexp var in rc scripts

2019-03-13 Thread Kapetanakis Giannis
Hi, I'm trying to create a rc file for pmacctd. I've defined the pexp var but for some reason it is not working. I'm probably missing something not obvious to me. #!/bin/sh # daemon="/usr/local/sbin/pmacctd" . /etc/rc.d/rc.subr pexp="pmacctd: Core Process.*" rc_reload=NO rc_cmd $1 pexp