Package: debian-policy Version: 4.4.0.1 Severity: normal Packages should ship systemd units as this provides a better experience to users. (In particular the systemd-sysv-generator has to make some assumptions that are not always correct; it is better to explicitly tell systemd what to do.)
Ansgar
>From 58a2c3d5c7d25d70c687fa7b79515970c50b5481 Mon Sep 17 00:00:00 2001 From: Ansgar <ans...@debian.org> Date: Thu, 26 Sep 2019 09:56:53 +0200 Subject: [PATCH] initscripts: packages should ship systemd units --- policy/ch-opersys.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/ch-opersys.rst b/policy/ch-opersys.rst index 6e0c020..2ce1b5e 100644 --- a/policy/ch-opersys.rst +++ b/policy/ch-opersys.rst @@ -388,6 +388,9 @@ argument ``stop``. Writing the scripts ~~~~~~~~~~~~~~~~~~~ +Packages that include system services should include ``systemd`` units +to start or stop services. + 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 -- 2.23.0