Re: Correct pexp variable for a shell script

2019-06-29 Thread Jacob Adams
On 6/29/19 8:46 AM, Antoine Jacoutot wrote: > On Sat, Jun 22, 2019 at 02:14:12PM -0400, Jacob Adams wrote: >> On 6/22/19 12:43 PM, Antoine Jacoutot wrote: >>> On Sat, Jun 22, 2019 at 10:42:39AM -0400, Jacob Adams wrote: On 6/22/19 7:05 AM, Antoine Jacoutot wrote: > On Fri, Jun 21, 2019 a

Re: Correct pexp variable for a shell script

2019-06-29 Thread Antoine Jacoutot
On Sat, Jun 22, 2019 at 02:14:12PM -0400, Jacob Adams wrote: > > On 6/22/19 12:43 PM, Antoine Jacoutot wrote: > > On Sat, Jun 22, 2019 at 10:42:39AM -0400, Jacob Adams wrote: > >> On 6/22/19 7:05 AM, Antoine Jacoutot wrote: > >>> On Fri, Jun 21, 2019 at 03:57:41PM -0400, Jacob Adams wrote: >

Re: Correct pexp variable for a shell script

2019-06-25 Thread Fernando Braga
Or maybe ps | grep [a]uthmail Em ter, 25 de jun de 2019 às 14:42, Chris Bennett < cpb_m...@bennettconstruction.us> escreveu: > On Sat, Jun 22, 2019 at 02:14:12PM -0400, Jacob Adams wrote: > > > > rukey# ps | grep authmail > > 17035 p0 Ip 0:00.01 /bin/sh /usr/local/bin/authmail > > 25162

Re: Correct pexp variable for a shell script

2019-06-25 Thread Chris Bennett
On Sat, Jun 22, 2019 at 02:14:12PM -0400, Jacob Adams wrote: > > rukey# ps | grep authmail > 17035 p0  Ip  0:00.01 /bin/sh /usr/local/bin/authmail > 25162 p0  R+p 0:00.01 grep authmail > rukey# > ps | grep authmail | grep -v grep ?? Chris Bennett

Re: Correct pexp variable for a shell script

2019-06-22 Thread Jacob Adams
On 6/22/19 12:43 PM, Antoine Jacoutot wrote: > On Sat, Jun 22, 2019 at 10:42:39AM -0400, Jacob Adams wrote: >> On 6/22/19 7:05 AM, Antoine Jacoutot wrote: >>> On Fri, Jun 21, 2019 at 03:57:41PM -0400, Jacob Adams wrote: I've got a shell script I'd like to run as a system service. Due to the

Re: Correct pexp variable for a shell script

2019-06-22 Thread Antoine Jacoutot
On Sat, Jun 22, 2019 at 10:42:39AM -0400, Jacob Adams wrote: > > On 6/22/19 7:05 AM, Antoine Jacoutot wrote: > > On Fri, Jun 21, 2019 at 03:57:41PM -0400, Jacob Adams wrote: > >> I've got a shell script I'd like to run as a system service. Due to the > >> 16 character limitation on pgrep and the -

Re: Correct pexp variable for a shell script

2019-06-22 Thread Jacob Adams
On 6/22/19 7:05 AM, Antoine Jacoutot wrote: > On Fri, Jun 21, 2019 at 03:57:41PM -0400, Jacob Adams wrote: >> I've got a shell script I'd like to run as a system service. Due to the >> 16 character limitation on pgrep and the -x flag that rc.subr passes to >> check by default, I can't get check o

Re: Correct pexp variable for a shell script

2019-06-22 Thread Antoine Jacoutot
On Fri, Jun 21, 2019 at 03:57:41PM -0400, Jacob Adams wrote: > I've got a shell script I'd like to run as a system service. Due to the > 16 character limitation on pgrep and the -x flag that rc.subr passes to > check by default, I can't get check or stop to work correctly. The > problem is that the