Swatch rc script

Doug Barton dougb at FreeBSD.org
Sat Mar 17 03:45:46 UTC 2012


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


More information about the freebsd-ports mailing list