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

Re: policy on start-stop-daemon



On Mon, 11 Feb 2002, Colin Watson wrote:
> On Mon, Feb 11, 2002 at 02:38:25PM +0100, Wichert Akkerman wrote:
> > Previously Russell Coker wrote:
> > > Either start-stop-daemon should not be called from cron, or if it is
> > > called from cron then it should be called with a special parameter
> > > to indicate that it is being run from cron.
> > 
> > Not allowing start-stop-daemon to be used in cron is broken. In fact
> > policy seems to move towards demanding to use /etc/init.d scripts
> > everywhere instead of using start-stop-daemon.
> 
> man-db doesn't use start-stop-daemon in a manner that can sensibly be
> moved into an init script, but as a convenient means of starting a

It cannot be moved to a "cron-cleanup" target on /etc/init.d?  It certainly
would not be possible to have it sensibly in the start or stop targets,
but...

(not that I am suggesting man-db to do so. There is no reason for that, at
least none right now).

-- 
  "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: