From 80af263b6cdce803a6d434198cefe555842ab062 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Jun 2017 19:23:21 +0200 Subject: [PATCH] man: improve documentation of ExecStartPost= a bit Let's make clear what start-up really means in this case. See: #6097 --- man/systemd.service.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 1faac0f762..0678855945 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -328,14 +328,13 @@ all ExecStartPre= commands that were not prefixed with a - exit successfully. - ExecStartPost= commands are only run after - the service has started successfully, as determined by Type= - (i.e. the process has been started for Type=simple - or Type=idle, the process exits successfully for - Type=oneshot, the initial process exits successfully - for Type=forking, READY=1 is sent - for Type=notify, or the BusName= - has been taken for Type=dbus). + ExecStartPost= commands are only run after the commands specified in + ExecStart= have been invoked successfully, as determined by Type= + (i.e. the process has been started for Type=simple or Type=idle, the last + ExecStart= process exited successfully for Type=oneshot, the initial + process exited successfully for Type=forking, READY=1 is sent for + Type=notify, or the BusName= has been taken for + Type=dbus). Note that ExecStartPre= may not be used to start long-running processes. All processes forked