mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
man: document that services need at least one of ExecStart= or ExecStop=
Fixes: #4521
This commit is contained in:
parent
33fc1800d6
commit
e4b45b32e5
@ -284,7 +284,9 @@
|
||||
providing multiple command lines in the same directive, or alternatively, this directive may be specified more
|
||||
than once with the same effect. If the empty string is assigned to this option, the list of commands to start
|
||||
is reset, prior assignments of this option will have no effect. If no <varname>ExecStart=</varname> is
|
||||
specified, then the service must have <varname>RemainAfterExit=yes</varname> set.</para>
|
||||
specified, then the service must have <varname>RemainAfterExit=yes</varname> and at least one
|
||||
<varname>ExecStop=</varname> line set. (Services lacking both <varname>ExecStart=</varname> and
|
||||
<varname>ExecStop=</varname> are not valid.)</para>
|
||||
|
||||
<para>For each of the specified commands, the first argument must be an absolute path to an
|
||||
executable. Optionally, if this file name is prefixed with <literal>@</literal>, the second token will be
|
||||
|
Loading…
Reference in New Issue
Block a user