Bug#912651: /etc/init.d/skeleton: provide a generic skeleton as well

Adam Borowski kilobyte at angband.pl
Tue Aug 6 17:21:28 BST 2019


On Tue, Aug 06, 2019 at 03:08:24PM +0000, Dmitry Bogatov wrote:
> [2018-12-23 14:59] Dmitry Bogatov <KAction at debian.org>
> > Sorry for late response.
I took my revenge in kind, hah! :p

> > [2018-11-02 12:42] Adam Borowski <kilobyte at angband.pl>
> > > The contents of /etc/init.d/skeleton has been recentlish changed to an
> > > one-liner that uses /lib/init/init-d-script hiding all the actual code.
> > > That's fine if all what you want is to start a daemon; there's a lot
> > > of other things people want to do in an init scripts.

> > As you probably know, you could copy LSB header from init-d-script(5);
> > there also enumeration of override function names.
> >
> > In your particular case, you want to define `do_start_override' and
> > `do_stop_override'. Is it good enough?
> 
> If not, feel free to re-open bug and propose enchantements for
> init-d-script(5).

As you have dropped the skeleton, a bug about changes to it are moot.

But my real concern was about documentation not functionality: those of us who
write an init script once a year don't remember all the details.

Filed that part as a new bug; thanks for your work.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian is one big family.  Including that weird uncle
⢿⡄⠘⠷⠚⠋⠀ and ultra-religious in-laws.
⠈⠳⣄⠀⠀⠀⠀




More information about the Debian-init-diversity mailing list