mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
doc: some helpful pointers
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -182,6 +182,8 @@ optional arguments and description.
|
||||
`run` commands are guaranteed to be completed before running the next
|
||||
command. Highly useful if true serialization is needed.
|
||||
|
||||
> `<COND>` is described in the [Services](#services) section.
|
||||
|
||||
|
||||
### One-shot Commands (parallel)
|
||||
|
||||
@@ -194,6 +196,8 @@ redirects can be freely used:
|
||||
|
||||
task [s] echo "foo" | cat >/tmp/bar
|
||||
|
||||
> `<COND>` is described in the [Services](#services) section.
|
||||
|
||||
|
||||
### SysV Init Scripts
|
||||
|
||||
@@ -212,6 +216,8 @@ calls `init-script restart` on `initctl reload`. Similar to how
|
||||
Forking services started with `sysv` scripts can be monitored by Finit
|
||||
by declaring the PID file to look for: `pid:!/path/to/pidfile.pid`.
|
||||
|
||||
> `<COND>` is described in the [Services](#services) section.
|
||||
|
||||
|
||||
### Services
|
||||
|
||||
|
||||
Reference in New Issue
Block a user