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

Re: how to deinstall not-running daemons

On Sun, Aug 13, 2000 at 05:39:29PM +0200, goswin.brederlow@student.uni-tuebingen.de wrote:
> Correct the init.d script to not return an error if the demon is
> allready stopped.

How do i do this? Unfortunatelly I havbe a daemon which dont write a pid
file and which can't be run as daemon. So i have to start it with "daemon &"
and killing it by start-stop-daemon --exec daemon  will produce an error
code if the daemon was not running or if the daemon can't be stoped.. dont
know how to detect which of both is the problem. Never seen a init script
which did that right, even the one in the policy manual isbroken.

  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!

Reply to: