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

Re: RFC: fix for daemon start on package install/upgrade out-of-runlevel



On Sat, Sep 09, 2000 at 06:23:03PM -0400, Robert D. Hilliard wrote:
> Adam McKenna <adam-debian@flounder.net> writes:
> 
> > 
> > On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:
> > >      ps ax|grep <daemon-name>|grep -v grep works for me.
> > 
> > if [ "`pidof <daemon>`" ] ; then
> > ...
> > fi
> 
>      For some reason pidof doesn't work on the dictd daemon, so it may
> not work on others as well.  See Bug#67021.

adam@spotted:/usr/share/doc/dictd$ ps auxww | grep dict
nobody   16216  0.2  0.6  1768  876 ?        S    20:26   0:00 dictd 1.4.9:
0/0
adam     16218  0.0  0.3  1112  412 pts/6    S    20:26   0:00 grep dict
adam@spotted:/usr/share/doc/dictd$ pidof "dictd 1.4.9: 0/0"
16216

Looks like it's working fine to me.

--Adam


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: