diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 17e446e203..02eb706789 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -423,6 +423,9 @@ ExecStart=, or ExecStartPost= fail (and are not prefixed with -, see above) or time out before the service is fully up, execution continues with commands specified in ExecStopPost=, the commands in ExecStop= are skipped. + + Note that the execution of ExecStartPost= is taken into account for the purpose of + Before=/After= ordering constraints. @@ -534,7 +537,10 @@ service, as well as the main process' exit code and status, set in the $SERVICE_RESULT, $EXIT_CODE and $EXIT_STATUS environment variables, see systemd.exec5 for - details. + details. + + Note that the execution of ExecStopPost= is taken into account for the purpose of + Before=/After= ordering constraints. diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 64240208c2..0d223d74db 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -750,7 +750,7 @@ type when precisely a unit has finished starting up. Most importantly, for service units start-up is considered completed for the purpose of Before=/After= when all its configured start-up commands have been invoked and they either failed or reported start-up - success. + success. Note that this does includes ExecStartPost (or ExecStopPost for the shutdown case). Note that those settings are independent of and orthogonal to the requirement dependencies as configured by Requires=, Wants=, Requisite=,