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

Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts

On Tue, 23 May 2006, Michael Prokop wrote:
> Yes, for sure. But IMO it's the initscript which should make sure
> that the daemon is stopped when running the stop-rule.

Most try, to the point of doing a kill -9 if the daemon doesn't go away
easily.  But if it doesn't die even with a kill -9 (say, kernel bug,
filesystem hang, or someone doing kill -STOP), or if the service *isn't* a
daemon and cannot for some reason be shut down...

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: