Skip to content

Commit b87c512

Browse files
committed
doc: attempt to clarify service sync a bit
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 6b7478f commit b87c512

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/config.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ like this:
393393

394394
The `notify:none` syntax is for completeness in systems which run in
395395
`readiness pid` mode (default). Services declared with `notify:none`
396-
will assert ready condition as soon as Finit has started them, e.g.,
396+
will transition to ready as soon as Finit has started them, e.g.,
397397
`service/qux/ready`.
398398

399399
To synchronize two services the following condition can be used:
@@ -405,8 +405,8 @@ For details on the syntax and options, see below.
405405

406406
> [!NOTE]
407407
> On `initctl reload` conditions are set in "flux", while figuring out
408-
> which to stop, start or restart. Services that need to be restarted
409-
> have their `ready` condition removed prior to Finit sending them
408+
> which services to stop, start or restart. Services that need to be
409+
> restarted have their `ready` condition removed before Finit issue a
410410
> SIGHUP (if they support that), or stop-starting them. A daemon is
411411
> expected to reassert its readiness, e.g. systemd style daemons to
412412
> write `READY=1\n`.
@@ -416,10 +416,10 @@ For details on the syntax and options, see below.
416416
> `\n`. This means s6 style daemons currently must be stop-started.
417417
> (Declare the service with `<!>` in its condition statement.)
418418
>
419-
> For native PID file style readiness notification a daemon is expected
420-
> to either create its PID file, if it does not exist yet, or touch it
421-
> using `utimensat()` or similar. This triggers both the `<pid/>` and
422-
> `<.../ready>` conditions.
419+
> For default, PID file style readiness notification, daemons are
420+
> expected to either create their PID files, or touch it using
421+
> `utimensat()` to reassert readiness. Triggering both the `<pid/>`
422+
> and `<.../ready>` conditions.
423423
424424

425425
Service Wrapper Scripts

0 commit comments

Comments
 (0)