mirror of
https://github.com/troglobit/finit.git
synced 2026-11-12 16:51:25 +00:00
Update example ASCII graphic a bit, add log and env commands
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
f9532d11ba
commit
aa998583a7
1 file changed
+10
-8
@@ -101,14 +101,16 @@ in full in [doc/config.md](doc/config.md). Here's a quick overview of
|
|||||||
some of the most common components needed to start a UNIX daemon:
|
some of the most common components needed to start a UNIX daemon:
|
||||||
|
|
||||||
```
|
```
|
||||||
service [LVLS] <COND> /path/to/daemon ARGS -- Some text
|
service [LVLS] <COND> log env:[-]/etc/default/daemon daemon ARGS -- Daemon daemon
|
||||||
^ ^ ^ ^ ^ ^
|
^ ^ ^ ^ ^ ^ ^ ^
|
||||||
| | | | | `-- Optional description
|
| | | | | | | `-- Optional description
|
||||||
| | | | `---------- Daemon arguments
|
| | | | | | `----------- Daemon arguments
|
||||||
| | | `-------------------------- Path to daemon
|
| | | | | `-------------------------- Path to daemon
|
||||||
| | `--------------------------------- Optional conditions
|
| | | | `---------------------------------------------------- Optional env. file
|
||||||
| `---------------------------------------- Optional Runlevels
|
| | | `-------------------------------------------------------- Redirect output to log
|
||||||
`------------------------------------------------ Monitored application
|
| | `--------------------------------------------------------------- Optional conditions
|
||||||
|
| `---------------------------------------------------------------------- Optional Runlevels
|
||||||
|
`------------------------------------------------------------------------------ Monitored application
|
||||||
```
|
```
|
||||||
|
|
||||||
Some components are optional: runlevel(s), condition(s) and description,
|
Some components are optional: runlevel(s), condition(s) and description,
|
||||||
|
|||||||
Reference in new issue
Block a user