From f00e8927b57014a6627460104d9dd00efbd239f0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 23 Apr 2023 15:32:59 +0000 Subject: adjust unit-conversion.html Signed-off-by: Laurent Bercot --- doc/unit-conversion.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'doc/unit-conversion.html') diff --git a/doc/unit-conversion.html b/doc/unit-conversion.html index 09d5670..0292dda 100644 --- a/doc/unit-conversion.html +++ b/doc/unit-conversion.html @@ -26,7 +26,7 @@ parsing a set of s6 service directories or s6-rc service -definition directories would be extremely useful to people who want to migrate to +definition directories would be useful to people who want to migrate to s6 but have an existing base of services running under systemd.

@@ -49,7 +49,7 @@ theoretically supported directives: most services that run under systemd can be converted to run under s6 without too much trouble. So, depending on the exact nature of the set of services, it may be possible to write a reasonable converter, that is limited in what it supports but does not require a full understanding -of systemd or s6. +of systemd (or even s6).

@@ -74,6 +74,13 @@ the systemd-managed system holistically and outputs an equivalent system managed by s6, but in practice nobody's ever going to write such a tool.

+

+ We only address directives that can appear in service units, which +are the ones that can reasonably be expected to translate to s6 or s6-rc +services. We do not address directives that can only appear in other kinds +of unit files such as slices, timers, sockets, etc. +

+
  • in systemd.kill(5)
  • +
  • in systemd.resource-control(5)
  • @@ -364,7 +372,7 @@ a bundle.
  • does not involve restarting the service does not need the service manager as a third-party. systemd cannot help inserting itself where it does not belong.

    -

  • ExecStop= : 6. s6 only supports terminating +
  • ExecStop= : 5. s6 only supports terminating services via signals, so if a service needs a specific command to be stopped, the converter needs to target an interface layer on top of s6 with a repository of stop commands; such a layer would likely need to be on top of s6-rc as well @@ -1247,6 +1255,7 @@ cgroups-related resource control directives.
  • RebootArgument=
  • Type=dbus
  • BusName=
  • +
  • ExecStop=
  • NonBlocking=
  • Sockets=
  • DynamicUser=
  • -- cgit v1.2.3