doc: minor, whitespace

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-05-07 20:42:11 +02:00
1 parent d9f13a1e50
commit 0e898da6e5
2 files changed
+7 -6

No files matched your search

+3 -2
View File
@@ -22,6 +22,7 @@ All relevant changes are documented in this file.
* `HOOK_BASEFS_UP` has been moved! External plugins that need to call
`service_register()`, please use `HOOK_SVC_PLUGIN` from now on.
Apologies for any inconveniences this might cause!
* New hook `HOOK_NETWORK_DN`, issue #319
* Support for overriding `/etc/finit.conf` using `finit.config=PATH`
from the kernel command line
* Support for overriding `/etc/finit.d` from the alternate `finit.conf`
@@ -54,8 +55,8 @@ All relevant changes are documented in this file.
### Fixes
* Fix #314: skip run/task/service restart if conditions are lost
* Fix #320: the API/IPC socket is closed immediately at shutdown/reboot
to prevent against hook scripts or services calling initctl. There is
no way to service these requests safely
to protect hook scripts or services calling initctl. There is no way
to service these requests safely at that time
* Fix #329: add support for multiple args to `initctl cond set/clr`
* Fix #338: ensure shutdown hooks are called properly; `hook/sys/down`
and `hook/svc/down` hook scripts, found and fixed by Jack Newman
+4 -4
View File
@@ -360,18 +360,18 @@ Templating
Finit comes with rudimentary support for templating, similar to that of
systemd. Best illustrated with an example:
$ initctl show avahi-autoipd@
service :%i avahi-autoipd --syslog %i -- ZeroConf for %i
$ initctl show avahi-autoipd@
service :%i avahi-autoipd --syslog %i -- ZeroConf for %i
To enable ZeroConf for, e.g., eth0, use
$ initctl enable avahi-autoipd@eth0.conf
$ initctl enable avahi-autoipd@eth0.conf
The enabled symlink will be set up to avahi-autoipd@.conf and every in‐
stance of %i will in the instantiated directive be replaced with eth0.
Inspect the result with:
$ initctl status avahi-autoipd:eth0
$ initctl status avahi-autoipd:eth0
Cgroups