> 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

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to