[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, Robert D. Hilliard wrote:
> Adam McKenna <adam-debian@flounder.net> writes:
> > >      ps ax|grep <daemon-name>|grep -v grep works for me.
> > 
> > if [ "`pidof <daemon>`" ] ; then
>      For some reason pidof doesn't work on the dictd daemon, so it may
> not work on others as well.  See Bug#67021.

   Then I suggest the following :

      ps ax | grep '[ ]'<daemon-name>

   I think the 'grep -v grep' kludge usually taught should be avoided.

Samuel Hocevar <sam@via.ecp.fr>                     http://www.via.ecp.fr/~sam/
dig goret.org @zoy.org axfr \
  | perl -e 'for(sort(<>)){print pack("H32",$1) if(/^c..\.(\w+)/)}' | gzip -d

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

Reply to: