mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
README: Add explanation of service early and link to doc/config.md
Also, update the service help text in doc/config.md to include info on both runlevels and explain the condition in the listed example. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
47793dcdf2
commit
647a79ffbd
2 files changed
+28
-3
No files matched your search
@@ -76,6 +76,13 @@ Syntax:
|
||||
service [2345] <svc/sbin/zebra> /sbin/ospfd -- OSPF daemon
|
||||
```
|
||||
|
||||
The `[2345]` is the runlevels `ospfd` is allowed to run in, they are
|
||||
optional and default to level 2-5 if left out.
|
||||
|
||||
The `<...>` is the condition for starting `ospfd`. In this example
|
||||
Finit waits for another service, `/sbin/zebra`, to have created its
|
||||
PID file in `/var/run/zebra.pid` before starting `ospfd`.
|
||||
|
||||
For a detailed description of conditions, and how to debug them,
|
||||
see the [Finit Conditions](conditions.md) document.
|
||||
|
||||
|
||||
Reference in new issue
Block a user