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

Re: Re: Upstart support for LSB headers (Two line init.d scripts? Sure, that will work!)



On Sun, Feb 16, 2014 at 10:19:24PM +0100, Wouter Verhelst wrote:
> On Sun, Feb 16, 2014 at 03:28:30PM +0400, Sergey B Kirpichev wrote:
> > Kevin Chadwick <ma1l1ists@yahoo.co.uk>:
> > >> Doesn't matter)  rc.local shouldn't be used by local
> > >> admin to start services from.  Why not use usual init-script?
> > >
> > > I wouldn't be surprised if rc.local has been around longer than Debian
> > > and is meant to run at the end. Particularly for a service that isn't
> > > packaged it may be useful and expected to run last.
> > 
> > Why you can't just write a regular init-script
> > to start (and stop!) this service?  rc.local is not flexible to this.
> 
> Doesn't matter. rc.local is an interface that has been around since
> forever, and which is *meant* for local admins to use.

But not to abuse this interface and use one in a wrong way.

> Whether it is flexible or not may be true, but is irrelevant for this
> discussion. No, we should not depend on it for Debian; but we should
> provide the interface for system administrators who wish to use it,
> because it is not Debian's place to tell them that they cannot use that
> interface.

The point is that I'm aware about such drawbacks of using
Should-Start/Should-Stop $all for monit, but I don't see a better
solution.


Reply to: