mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
doc/config.md: Minor refactor to add an Introduction section
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+14
-2
@@ -7,8 +7,9 @@ Table of Contents
|
||||
* [/etc/finit.conf](#etcfinitconf)
|
||||
* [/etc/finit.d](#etcfinitd)
|
||||
|
||||
/etc/finit.conf
|
||||
---------------
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
Contrary to most other script based init alternatives (SysV [init][],
|
||||
[upstart][], [systemd][], [OpenRC][], etc.) Finit relies on its main
|
||||
@@ -24,6 +25,17 @@ IPsec or OpenVPN, a callback can check if the outbound interface is up
|
||||
and has an IP address, or just check if the service is disabled — much
|
||||
like what a SysV init start script usually does.
|
||||
|
||||
* `/etc/finit.conf`: main configuration file, read only once at boot
|
||||
* `/etc/finit.d/*.conf`: snippets, usually one service per file
|
||||
|
||||
Only the `/etc/finit.d/*.conf` files are possible to reload at runtime,
|
||||
so usually only bootstrap (runlevel 'S') services are declared in the
|
||||
`/etc/finit.conf` file.
|
||||
|
||||
|
||||
/etc/finit.conf
|
||||
---------------
|
||||
|
||||
Syntax:
|
||||
|
||||
* `check <DEV>`
|
||||
|
||||
Reference in New Issue
Block a user