Package: dh-runit
Version: 2.9.0
Severity: normal

After a long discussion [1][2] with init-system-helper's maintainers it looks 
like it's a
good idea to decouple runit support from invoke-rc.d and update-rc.d.
Dh-runit already has support for enabling and disabling services, but
it lacks support for sending signals (start stop restart and so on) to
supervised services.

In runit, when a service is enabled is also started (and is stopped when 
disabled), so
the missing part is 'what to do during the upgrade' of a service.
Options supported by dh_installinit and dh_systemd are:

1. restart during postinstall (the default)
2. stop during prerm and start in postinst (the old default)
3. do not restart the service at all (useful for dbus sddm and the like)

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924132
[2] https://salsa.debian.org/debian/init-system-helpers/-/merge_requests/10


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages dh-runit depends on:
ii  debhelper                    13.2
ii  libfile-copy-recursive-perl  0.45-1
ii  libfile-slurp-perl           9999.32-1
ii  libtext-hogan-perl           2.03-1

dh-runit recommends no packages.

dh-runit suggests no packages.

-- no debconf information

Reply via email to