Date: Thu, 26 Jan 2012 08:36:09 -0900 (AKST) From: rflynn@acsalaska.net To: freebsd-ports@freebsd.org Subject: Re: what is maxcmdlen? $0 len? Message-ID: <4352.46.129.107.107.1327599369.squirrel@mymail.acsalaska.net> In-Reply-To: <4F2173A8.5010803@freebsd.org> References: <4F2173A8.5010803@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> ps -auxww | grep swatch > root 86920 0.0 0.7 7496 6960 ?? Is 9:33AM 0:00.01 > /usr/local/bin/perl /tmp//.swatch_script.86918 ^^^^^^^^^^^^^^^^^^^^^^^^^^ > ./swatch status > 329 > swatch is not running. Ruling out the obvious, command_interpreter is set? Also, it looks like swatch is creating a temporary script that is actually run, so the status command is not supposed to find it. It's a design issue upstream that you want them to find a better solution for. As a work around, you can write a wrapper script that catches SIGTERM and kills off $TMPDIR/.swatch_script.`cat /var/run/swatch.pid`. In your rc script you then specify this wrapper as the actual daemon. All in all it ain't pretty. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4352.46.129.107.107.1327599369.squirrel>