[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Release-critical Bugreport for December 7, 1998



On Mon, Dec 07, 1998 at 02:04:54PM -0500, Mitch Blevins wrote:

> > 	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?

 No, not really. (In fact, I was wondering that myself... take a look at
 xdm.(pre|post)inst and you'll see what I mean.


						Marcelo


Reply to: