Whither /etc/init.d/skeleton?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Long-standing advice on writing van Smoorenburg rc scripts for Debian, from many sources including the Debian Policy Manual and answers on StackExchange, until now has been:




An example on which you can base your /etc/init.d scripts is found in /etc/init.d/skeleton.




Is this still the case?










share|improve this question

























    up vote
    1
    down vote

    favorite












    Long-standing advice on writing van Smoorenburg rc scripts for Debian, from many sources including the Debian Policy Manual and answers on StackExchange, until now has been:




    An example on which you can base your /etc/init.d scripts is found in /etc/init.d/skeleton.




    Is this still the case?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Long-standing advice on writing van Smoorenburg rc scripts for Debian, from many sources including the Debian Policy Manual and answers on StackExchange, until now has been:




      An example on which you can base your /etc/init.d scripts is found in /etc/init.d/skeleton.




      Is this still the case?










      share|improve this question













      Long-standing advice on writing van Smoorenburg rc scripts for Debian, from many sources including the Debian Policy Manual and answers on StackExchange, until now has been:




      An example on which you can base your /etc/init.d scripts is found in /etc/init.d/skeleton.




      Is this still the case?







      debian sysvinit






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      JdeBP

      31.2k465142




      31.2k465142




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          No, /etc/init.d/skeleton is no more.



          Advice as of 2018 is:




          An example on which you can base your /etc/init.d scripts is available in the man page init-d-script(5).




          systemd developer Michael Biebl and Debian maintainer of van Smoorenbug rc+init Dmitry Bogatov got together and agreed to remove /etc/init.d/skeleton. The script to use as a template (which unlike the erstwhile /etc/init.d/skeleton file does not contain tweaks to make it work on Debian FreeBSD) is now the one that is in the manual.



          Note that the Debian template itself changed several years ago, back in 2014. It is now structured far more like an rc script in Mewburn rc or OpenBSD rc, with a shell function library doing most of the work and the main rc script content comprising little more than a series of variable assignments in simple cases.



          Further reading



          • https://unix.stackexchange.com/a/233581/5132

          • Petter Reinholdtsen (2014-02-09). init-d-script. File formats manual. Debian.

          • Olaf van der Spek (2008-02-09). skeleton: Move skeleton code into a file that other scripts can include. Debian bug #464854.

          • Petter Reinholdtsen (2014-02-09). New init.d script interpreter /lib/init/init-d-script. sysvinit package. Debian.

          • Michael Biebl (2018-11-07). Please move /etc/init.d/skeleton. Debian bug #913154.

          • Dmitry Bogatov (2018-11-09). debian-policy: Update location of example init.d script. Debian bug #913295.

          • Jonathan de Boyne Pollard (2014). A side-by-side look at run scripts and service units.. Frequently Given Answers.

          • Jonathan de Boyne Pollard (2015). The known problems with System 5 rc. Frequently Given Answers.

          • Luke Mewburn (2001). The Design and Implementation of the NetBSD rc.d system" (Author's copy) Proceedings of the 2001 Annual Technical Conference. Usenix. pp. 69–80.

          • Jonathan de Boyne Pollard (2015). /etc/inittab is a thing of the past.. Frequently Given Answers.

          • https://unix.stackexchange.com/a/472993/5132





          share|improve this answer




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480896%2fwhither-etc-init-d-skeleton%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            No, /etc/init.d/skeleton is no more.



            Advice as of 2018 is:




            An example on which you can base your /etc/init.d scripts is available in the man page init-d-script(5).




            systemd developer Michael Biebl and Debian maintainer of van Smoorenbug rc+init Dmitry Bogatov got together and agreed to remove /etc/init.d/skeleton. The script to use as a template (which unlike the erstwhile /etc/init.d/skeleton file does not contain tweaks to make it work on Debian FreeBSD) is now the one that is in the manual.



            Note that the Debian template itself changed several years ago, back in 2014. It is now structured far more like an rc script in Mewburn rc or OpenBSD rc, with a shell function library doing most of the work and the main rc script content comprising little more than a series of variable assignments in simple cases.



            Further reading



            • https://unix.stackexchange.com/a/233581/5132

            • Petter Reinholdtsen (2014-02-09). init-d-script. File formats manual. Debian.

            • Olaf van der Spek (2008-02-09). skeleton: Move skeleton code into a file that other scripts can include. Debian bug #464854.

            • Petter Reinholdtsen (2014-02-09). New init.d script interpreter /lib/init/init-d-script. sysvinit package. Debian.

            • Michael Biebl (2018-11-07). Please move /etc/init.d/skeleton. Debian bug #913154.

            • Dmitry Bogatov (2018-11-09). debian-policy: Update location of example init.d script. Debian bug #913295.

            • Jonathan de Boyne Pollard (2014). A side-by-side look at run scripts and service units.. Frequently Given Answers.

            • Jonathan de Boyne Pollard (2015). The known problems with System 5 rc. Frequently Given Answers.

            • Luke Mewburn (2001). The Design and Implementation of the NetBSD rc.d system" (Author's copy) Proceedings of the 2001 Annual Technical Conference. Usenix. pp. 69–80.

            • Jonathan de Boyne Pollard (2015). /etc/inittab is a thing of the past.. Frequently Given Answers.

            • https://unix.stackexchange.com/a/472993/5132





            share|improve this answer
























              up vote
              1
              down vote













              No, /etc/init.d/skeleton is no more.



              Advice as of 2018 is:




              An example on which you can base your /etc/init.d scripts is available in the man page init-d-script(5).




              systemd developer Michael Biebl and Debian maintainer of van Smoorenbug rc+init Dmitry Bogatov got together and agreed to remove /etc/init.d/skeleton. The script to use as a template (which unlike the erstwhile /etc/init.d/skeleton file does not contain tweaks to make it work on Debian FreeBSD) is now the one that is in the manual.



              Note that the Debian template itself changed several years ago, back in 2014. It is now structured far more like an rc script in Mewburn rc or OpenBSD rc, with a shell function library doing most of the work and the main rc script content comprising little more than a series of variable assignments in simple cases.



              Further reading



              • https://unix.stackexchange.com/a/233581/5132

              • Petter Reinholdtsen (2014-02-09). init-d-script. File formats manual. Debian.

              • Olaf van der Spek (2008-02-09). skeleton: Move skeleton code into a file that other scripts can include. Debian bug #464854.

              • Petter Reinholdtsen (2014-02-09). New init.d script interpreter /lib/init/init-d-script. sysvinit package. Debian.

              • Michael Biebl (2018-11-07). Please move /etc/init.d/skeleton. Debian bug #913154.

              • Dmitry Bogatov (2018-11-09). debian-policy: Update location of example init.d script. Debian bug #913295.

              • Jonathan de Boyne Pollard (2014). A side-by-side look at run scripts and service units.. Frequently Given Answers.

              • Jonathan de Boyne Pollard (2015). The known problems with System 5 rc. Frequently Given Answers.

              • Luke Mewburn (2001). The Design and Implementation of the NetBSD rc.d system" (Author's copy) Proceedings of the 2001 Annual Technical Conference. Usenix. pp. 69–80.

              • Jonathan de Boyne Pollard (2015). /etc/inittab is a thing of the past.. Frequently Given Answers.

              • https://unix.stackexchange.com/a/472993/5132





              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                No, /etc/init.d/skeleton is no more.



                Advice as of 2018 is:




                An example on which you can base your /etc/init.d scripts is available in the man page init-d-script(5).




                systemd developer Michael Biebl and Debian maintainer of van Smoorenbug rc+init Dmitry Bogatov got together and agreed to remove /etc/init.d/skeleton. The script to use as a template (which unlike the erstwhile /etc/init.d/skeleton file does not contain tweaks to make it work on Debian FreeBSD) is now the one that is in the manual.



                Note that the Debian template itself changed several years ago, back in 2014. It is now structured far more like an rc script in Mewburn rc or OpenBSD rc, with a shell function library doing most of the work and the main rc script content comprising little more than a series of variable assignments in simple cases.



                Further reading



                • https://unix.stackexchange.com/a/233581/5132

                • Petter Reinholdtsen (2014-02-09). init-d-script. File formats manual. Debian.

                • Olaf van der Spek (2008-02-09). skeleton: Move skeleton code into a file that other scripts can include. Debian bug #464854.

                • Petter Reinholdtsen (2014-02-09). New init.d script interpreter /lib/init/init-d-script. sysvinit package. Debian.

                • Michael Biebl (2018-11-07). Please move /etc/init.d/skeleton. Debian bug #913154.

                • Dmitry Bogatov (2018-11-09). debian-policy: Update location of example init.d script. Debian bug #913295.

                • Jonathan de Boyne Pollard (2014). A side-by-side look at run scripts and service units.. Frequently Given Answers.

                • Jonathan de Boyne Pollard (2015). The known problems with System 5 rc. Frequently Given Answers.

                • Luke Mewburn (2001). The Design and Implementation of the NetBSD rc.d system" (Author's copy) Proceedings of the 2001 Annual Technical Conference. Usenix. pp. 69–80.

                • Jonathan de Boyne Pollard (2015). /etc/inittab is a thing of the past.. Frequently Given Answers.

                • https://unix.stackexchange.com/a/472993/5132





                share|improve this answer












                No, /etc/init.d/skeleton is no more.



                Advice as of 2018 is:




                An example on which you can base your /etc/init.d scripts is available in the man page init-d-script(5).




                systemd developer Michael Biebl and Debian maintainer of van Smoorenbug rc+init Dmitry Bogatov got together and agreed to remove /etc/init.d/skeleton. The script to use as a template (which unlike the erstwhile /etc/init.d/skeleton file does not contain tweaks to make it work on Debian FreeBSD) is now the one that is in the manual.



                Note that the Debian template itself changed several years ago, back in 2014. It is now structured far more like an rc script in Mewburn rc or OpenBSD rc, with a shell function library doing most of the work and the main rc script content comprising little more than a series of variable assignments in simple cases.



                Further reading



                • https://unix.stackexchange.com/a/233581/5132

                • Petter Reinholdtsen (2014-02-09). init-d-script. File formats manual. Debian.

                • Olaf van der Spek (2008-02-09). skeleton: Move skeleton code into a file that other scripts can include. Debian bug #464854.

                • Petter Reinholdtsen (2014-02-09). New init.d script interpreter /lib/init/init-d-script. sysvinit package. Debian.

                • Michael Biebl (2018-11-07). Please move /etc/init.d/skeleton. Debian bug #913154.

                • Dmitry Bogatov (2018-11-09). debian-policy: Update location of example init.d script. Debian bug #913295.

                • Jonathan de Boyne Pollard (2014). A side-by-side look at run scripts and service units.. Frequently Given Answers.

                • Jonathan de Boyne Pollard (2015). The known problems with System 5 rc. Frequently Given Answers.

                • Luke Mewburn (2001). The Design and Implementation of the NetBSD rc.d system" (Author's copy) Proceedings of the 2001 Annual Technical Conference. Usenix. pp. 69–80.

                • Jonathan de Boyne Pollard (2015). /etc/inittab is a thing of the past.. Frequently Given Answers.

                • https://unix.stackexchange.com/a/472993/5132






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                JdeBP

                31.2k465142




                31.2k465142



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480896%2fwhither-etc-init-d-skeleton%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?