diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-30 14:21:33 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-30 21:56:47 +0200 |
commit | abaf5edd083bdb8ff8d12ff526f28f9e836b4478 (patch) | |
tree | acf9009dfc814f667de0654a7f5e9bdd40c593c2 /man/systemd.service.xml | |
parent | 58551e6ebc465227d0add8c714f9f38213b6878a (diff) | |
download | systemd-abaf5edd083bdb8ff8d12ff526f28f9e836b4478.tar.gz |
Revert "Introduce ExitType"
This reverts commit cb0e818f7cc2499d81ef143e5acaa00c6e684711.
After this was merged, some design and implementation issues were discovered,
see the discussion in #18782 and #19385. They certainly can be fixed, but so
far nobody has stepped up, and we're nearing a release. Hopefully, this feature
can be merged again after a rework.
Fixes #19345.
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 50d1a1d85d..350bc5f8e5 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -256,31 +256,6 @@ </varlistentry> <varlistentry> - <term><varname>ExitType=</varname></term> - - <listitem> - <para>Configures the process exit type for this service unit. One of <option>main</option> or - <option>cgroup</option>:</para> - - <itemizedlist> - <listitem><para>If set to <option>main</option> (the default), the service manager - will consider the unit stopped when the main process, which is determined according to the `Type`, exits. - </para></listitem> - - <listitem><para>The <option>cgroup</option> exit type is meant for applications whose forking model is not - known ahead of time and which might not have a specific main process. The service will stay running as long - as at least one process in the cgroup is running. The exit status of the service is that of the last - process in the cgroup to exit.</para></listitem> - </itemizedlist> - - <para>It is generally recommended to use <varname>ExitType=</varname><option>main</option> when a service has - a known forking model and a main process can reliably be determined. <varname>ExitType=</varname> - <option>cgroup</option> is well suited for transient or automatically generated services, such as graphical - applications inside of a desktop environment.</para> - </listitem> - </varlistentry> - - <varlistentry> <term><varname>RemainAfterExit=</varname></term> <listitem><para>Takes a boolean value that specifies whether |