mirror of
https://github.com/troglobit/finit.git
synced 2026-11-11 16:40:48 +00:00
doc: minor, whitespace
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d9f13a1e50
commit
0e898da6e5
2 files changed
+7
-6
No files matched your search
+3
-2
@@ -22,6 +22,7 @@ All relevant changes are documented in this file.
|
|||||||
* `HOOK_BASEFS_UP` has been moved! External plugins that need to call
|
* `HOOK_BASEFS_UP` has been moved! External plugins that need to call
|
||||||
`service_register()`, please use `HOOK_SVC_PLUGIN` from now on.
|
`service_register()`, please use `HOOK_SVC_PLUGIN` from now on.
|
||||||
Apologies for any inconveniences this might cause!
|
Apologies for any inconveniences this might cause!
|
||||||
|
* New hook `HOOK_NETWORK_DN`, issue #319
|
||||||
* Support for overriding `/etc/finit.conf` using `finit.config=PATH`
|
* Support for overriding `/etc/finit.conf` using `finit.config=PATH`
|
||||||
from the kernel command line
|
from the kernel command line
|
||||||
* Support for overriding `/etc/finit.d` from the alternate `finit.conf`
|
* Support for overriding `/etc/finit.d` from the alternate `finit.conf`
|
||||||
@@ -54,8 +55,8 @@ All relevant changes are documented in this file.
|
|||||||
### Fixes
|
### Fixes
|
||||||
* Fix #314: skip run/task/service restart if conditions are lost
|
* Fix #314: skip run/task/service restart if conditions are lost
|
||||||
* Fix #320: the API/IPC socket is closed immediately at shutdown/reboot
|
* Fix #320: the API/IPC socket is closed immediately at shutdown/reboot
|
||||||
to prevent against hook scripts or services calling initctl. There is
|
to protect hook scripts or services calling initctl. There is no way
|
||||||
no way to service these requests safely
|
to service these requests safely at that time
|
||||||
* Fix #329: add support for multiple args to `initctl cond set/clr`
|
* Fix #329: add support for multiple args to `initctl cond set/clr`
|
||||||
* Fix #338: ensure shutdown hooks are called properly; `hook/sys/down`
|
* Fix #338: ensure shutdown hooks are called properly; `hook/sys/down`
|
||||||
and `hook/svc/down` hook scripts, found and fixed by Jack Newman
|
and `hook/svc/down` hook scripts, found and fixed by Jack Newman
|
||||||
|
|||||||
+4
-4
@@ -360,18 +360,18 @@ Templating
|
|||||||
Finit comes with rudimentary support for templating, similar to that of
|
Finit comes with rudimentary support for templating, similar to that of
|
||||||
systemd. Best illustrated with an example:
|
systemd. Best illustrated with an example:
|
||||||
|
|
||||||
$ initctl show avahi-autoipd@
|
$ initctl show avahi-autoipd@
|
||||||
service :%i avahi-autoipd --syslog %i -- ZeroConf for %i
|
service :%i avahi-autoipd --syslog %i -- ZeroConf for %i
|
||||||
|
|
||||||
To enable ZeroConf for, e.g., eth0, use
|
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‐
|
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.
|
stance of %i will in the instantiated directive be replaced with eth0.
|
||||||
Inspect the result with:
|
Inspect the result with:
|
||||||
|
|
||||||
$ initctl status avahi-autoipd:eth0
|
$ initctl status avahi-autoipd:eth0
|
||||||
|
|
||||||
|
|
||||||
Cgroups
|
Cgroups
|
||||||
|
|||||||
Reference in new issue
Block a user