Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 20:45:40 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Chris Widger <cwidger@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Swatch rc script
Message-ID:  <4F6408E4.7040901@FreeBSD.org>
In-Reply-To: <CAAEAyQA=LMbkVKdjrXTaaTbMHXhy2oHxDuL6AnVUtr_rsXFn8Q@mail.gmail.com>
References:  <CAAEAyQA=LMbkVKdjrXTaaTbMHXhy2oHxDuL6AnVUtr_rsXFn8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/15/2012 13:24, Chris Widger wrote:
> There's a bug in the rc script for /usr/ports/securit/swatch
> 
> With the bug swatch can be started, but getting status or stopping the
> process' always fail.
> 
> To fix this bug I had to change:
> 
>     procname=/usr/local/bin/perl
> 
> to:
> 
>     procname=/usr/local/bin/swatch
> 
> With this change all instances of swatch start, stop, and report status
> correctly.

That script shouldn't be using procname at all. It should set
command_interpreter on the line after command=



-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F6408E4.7040901>