From: Lennart Poettering Date: Tue, 20 Dec 2016 20:30:05 +0000 (+0100) Subject: man: document that services need at least one of ExecStart= or ExecStop= X-Git-Tag: v233~237^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4b45b32e59d7481fbbb0756d012bba6556223a8;p=thirdparty%2Fsystemd.git man: document that services need at least one of ExecStart= or ExecStop= Fixes: #4521 --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 684029bdb44..b707961a59f 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -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 ExecStart= is - specified, then the service must have RemainAfterExit=yes set. + specified, then the service must have RemainAfterExit=yes and at least one + ExecStop= line set. (Services lacking both ExecStart= and + ExecStop= are not valid.) 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 @, the second token will be