Re: Release-critical Bugreport for December 7, 1998
Marcelo E. Magallon wrote:
> [snip]
> I'm fighting this one... in my own pacakge (wdm). There's something fishy
> about start-stop-daemon <-> [wx]dm; it's used like this:
>
> start-stop-daemon --signal 0 --pidfile /var/run/xdm.pid
> ^^^^^^^
> Branden, please note the documented
> flag is --pidfile not --pid
>
> but it doesn't always work as intended. In fact, most of the time it
> doesn't work as intended. Any suggestions as how to detect if [wx]dm is
> already running? I'm currently looking at something like "ps axh | grep
> xdm", but I don't like it.
Any reason not to use pidof?
Reply to: