Bug#924132: runit: Add support for runit in init-system-helpers

Lorenzo plorenzo at disroot.org
Wed Aug 28 00:47:26 BST 2024


Dear init-system-helpers maintainers,

> Now it's likely that I have to support also a catch-all package for
> runit services in addition to the standard dh-runit code

such support is now done, so I'm attaching an updated patchset:

* no patch is needed for update-rc.d: the rescan need to happen
  between enable and signal to a service; both actions are handled
  by runit-helper, so a rescan in update-rc.d is not useful.

* invoke-rc.d: what is needed is a way to block invoke-rc.d when
  a native runit service is found, so that duplicated and conflicting
  instances are avoided. I've added an override mechanism.

* service: patch updated for new service layout; also --status-all
  is changed so that runscripts status is distinguishable from the
  sysv status (runit currently uses a mix of native and sysv scripts
  so the distinction is useful)

Regards,
Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-Depends-runit-helper.patch
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240828/c511a347/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-invoke-rc.d-add-support-for-runit.patch
Type: text/x-patch
Size: 1601 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240828/c511a347/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-service-add-support-for-runit.patch
Type: text/x-patch
Size: 5176 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240828/c511a347/attachment-0002.bin>


More information about the Pkg-systemd-maintainers mailing list