On Tue, May 21, 2013 at 6:27 PM, russell wrote:
>> Because pexp uses pkill to do its work and pkill matches on command name
>> only(like ps -c).
>
>
> sorry for the noise I just revisited this and I am wrong.
> the pkill bits in rc.subr are using "pkill -f"
> and that does match agianst the full a
Because pexp uses pkill to do its work and pkill matches on command name
only(like ps -c).
sorry for the noise I just revisited this and I am wrong.
the pkill bits in rc.subr are using "pkill -f"
and that does match agianst the full arg list.
as said before make a better pexp and it should work
On 05/21/2013 11:18 PM, C. L. Martinez wrote:
Hi all,
I have a problem with some tcl rc.d startup scripts. Start and status
works ok but stop and restart, doesn't.
Script:
#!/bin/sh -x
#
# $OpenBSD: suricata_proxyin_agent,v 1.0
daemon="/usr/local/bin/suricata_proxyin_agent.tcl"
daemon_fla
I had a similar problem when writing my own rc.d start script for Snort
(compiled instead of package version), and it turned out to be becuase
the rc.d script did not implicity incude the variables in
'rc.conf.local' and 'rc.conf' any more.
So I just added the following to the top of the rc.d s
On Wed, May 22, 2013 at 9:15 AM, Vadim Zhukov wrote:
> 2013/5/22 C. L. Martinez
>
>> On Wed, May 22, 2013 at 8:44 AM, Vadim Zhukov wrote:
>> > 22.05.2013 10:19 пользователь "C. L. Martinez"
>> > написал:
>> >
>> >
>> >>
>> >> Hi all,
>> >>
>> >> I have a problem with some tcl rc.d startup scri
22.05.2013 10:19 полÑзоваÑÐµÐ»Ñ "C. L. Martinez"
напиÑал:
>
> Hi all,
>
> I have a problem with some tcl rc.d startup scripts. Start and status
> works ok but stop and restart, doesn't.
Stupid question: does it stop if you kill it by pid directly? I've seen at
least one daemon d
On Wed, May 22, 2013 at 07:41:38AM +, C. L. Martinez wrote:
> On Wed, May 22, 2013 at 7:37 AM, Antoine Jacoutot
> wrote:
> > On Wed, May 22, 2013 at 07:30:19AM +, C. L. Martinez wrote:
> >> On Wed, May 22, 2013 at 7:02 AM, Antoine Jacoutot
> >> wrote:
> >> > On Wed, May 22, 2013 at 06:5
On Wed, May 22, 2013 at 07:30:19AM +, C. L. Martinez wrote:
> On Wed, May 22, 2013 at 7:02 AM, Antoine Jacoutot
> wrote:
> > On Wed, May 22, 2013 at 06:57:16AM +, C. L. Martinez wrote:
> >> On Wed, May 22, 2013 at 6:50 AM, Antoine Jacoutot
> >> wrote:
> >> > On Wed, May 22, 2013 at 06:1
On Wed, May 22, 2013 at 7:02 AM, Antoine Jacoutot wrote:
> On Wed, May 22, 2013 at 06:57:16AM +, C. L. Martinez wrote:
>> On Wed, May 22, 2013 at 6:50 AM, Antoine Jacoutot
>> wrote:
>> > On Wed, May 22, 2013 at 06:18:04AM +, C. L. Martinez wrote:
>> >> Hi all,
>> >>
>> >> I have a probl
On Wed, May 22, 2013 at 06:57:16AM +, C. L. Martinez wrote:
> On Wed, May 22, 2013 at 6:50 AM, Antoine Jacoutot
> wrote:
> > On Wed, May 22, 2013 at 06:18:04AM +, C. L. Martinez wrote:
> >> Hi all,
> >>
> >> I have a problem with some tcl rc.d startup scripts. Start and status
> >
> > Yo
On Wed, May 22, 2013 at 6:50 AM, Antoine Jacoutot wrote:
> On Wed, May 22, 2013 at 06:18:04AM +, C. L. Martinez wrote:
>> Hi all,
>>
>> I have a problem with some tcl rc.d startup scripts. Start and status
>
> You mean check instead of status, right?
Yep, you are rigth Antoine ..
>
>> works
On Wed, May 22, 2013 at 06:18:04AM +, C. L. Martinez wrote:
> Hi all,
>
> I have a problem with some tcl rc.d startup scripts. Start and status
You mean check instead of status, right?
> works ok but stop and restart, doesn't.
Running the rc script in debug mode may give you some clue (-d)
12 matches
Mail list logo