[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941198: initscripts: packages should ship systemd units



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: