[Pkg-sysvinit-devel] Make init.d/skeleton a very simple init.d script?

Henrique de Moraes Holschuh hmh at debian.org
Sun Feb 2 18:49:42 UTC 2014


On Sun, 02 Feb 2014, Petter Reinholdtsen wrote:
> A few month ago I wrote
> <URL: http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html >
> documenting how at least some init.d script could be made a lot
> simpler, removing the need for duplicate code in the simple case with
> a forking daemon with pid file support.  I did not have time to follow up on the idea until now.
> 
> I've just commited the draft into a new branch simpler-init-scripts in
> the sysvinit repository, available from
> <URL: http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=shortlog;h=refs/heads/simpler-init-scripts >.
> 
> Do you believe we should move forward with this idea?  It would reduce

I like it, a lot.

> If a lot of packages start using the feature, it would also make it a
> lot easier to separate the "simple" packages from the more complex
> ones when migrating to a new boot system in Debian.

Not to mention we can even auto-generate the whole thing via dh for these
very simple situations.

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



More information about the Pkg-sysvinit-devel mailing list