mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
doc/config.md: Mention /etc/finit.d/available/ and initctl enable
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c9a1a64ce5
commit
e4c12314b1
1 file changed
+5
@@ -31,6 +31,11 @@ a restart of any service you can simply touch its corresponding `.conf`
|
|||||||
file in `/etc/finit.d` and call `initctl reload`. Finit handle any
|
file in `/etc/finit.d` and call `initctl reload`. Finit handle any
|
||||||
and all conditions and dependencies between services automatically.
|
and all conditions and dependencies between services automatically.
|
||||||
|
|
||||||
|
It is also possible to drop `.conf` files in `/etc/finit.d/available/`
|
||||||
|
and use `initctl enable` to enable a service `.conf` file. This may be
|
||||||
|
useful in particular to Linux distributions that may want to install all
|
||||||
|
files for a package and let the user decide when to enable a service.
|
||||||
|
|
||||||
On `initctl reload` the following is checked for all services:
|
On `initctl reload` the following is checked for all services:
|
||||||
|
|
||||||
- If a service's `.conf` file has been removed, or its conditions are no
|
- If a service's `.conf` file has been removed, or its conditions are no
|
||||||
|
|||||||
Reference in new issue
Block a user