Debian and LSBInitScripts

By Dag, on December 29th, 2016

Since Debian 6.0 the command insserv is introduced and used by update-rc.d (so you don't have to use it instead).
But a LSB (abbr. Linux Standard Base) header is now "needed" in the init script. You can use system facility names
to decide when your script should start and stop, or even define your own. But often it's good enough to just
make sure it starts after everything else. For that you can use the $all argument
that's supported by insserv. In my script I don't require anything to stop it, so I leave it empty which is
also supported.