Bug#941198: initscripts: packages should ship systemd units
- To: 941198@bugs.debian.org
- Subject: Bug#941198: initscripts: packages should ship systemd units
- From: Ansgar <ansgar@43-1.org>
- Date: Fri, 08 Nov 2019 01:47:50 +0100
- Message-id: <[🔎] 87wocbgpmx.fsf@43-1.org>
- Reply-to: Ansgar <ansgar@43-1.org>, 941198@bugs.debian.org
- In-reply-to: <[🔎] 874kzkoeme.fsf@hope.eyrie.org> (Russ Allbery's message of "Sun, 03 Nov 2019 13:04:57 -0800")
- References: <156948475045.9391.15664362173898928746.reportbug@deep-thought.43-1.org> <156948475045.9391.15664362173898928746.reportbug@deep-thought.43-1.org> <87lfuahgae.fsf@iris.silentflame.com> <156948475045.9391.15664362173898928746.reportbug@deep-thought.43-1.org> <87h84yqjwf.fsf@43-1.org> <156948475045.9391.15664362173898928746.reportbug@deep-thought.43-1.org> <[🔎] 874kzkoeme.fsf@hope.eyrie.org> <156948475045.9391.15664362173898928746.reportbug@deep-thought.43-1.org>
Russ Allbery writes:
> --- a/policy/ch-opersys.rst
> +++ b/policy/ch-opersys.rst
> @@ -388,11 +388,14 @@ argument ``stop``.
> Writing the scripts
> ~~~~~~~~~~~~~~~~~~~
>
> -Packages that include daemons for system services should place scripts
> -in ``/etc/init.d`` to start or stop services at boot time or during a
> -change of runlevel. These scripts should be named
> -``/etc/init.d/package``, and they should accept one argument, saying
> -what to do:
> +Packages that include system services should include ``systemd`` service
> +units to start or stop those services. See :manpage:`systemd.service(5)`.
> +
> +To support other init systems, packages that include daemons for system
> +services should place scripts in ``/etc/init.d`` to start or stop those
> +services at boot time or during a change of runlevel. These scripts should
> +be named ``/etc/init.d/package``, and they should accept one argument,
> +saying what to do:
>
> ``start``
> start the service,
>
> Ansgar, does that look good to you? If so, it also needs one more second.
Yes, looks good to me. Seconded.
Thanks,
Ansgar
Reply to: