diff --git a/ChangeLog.md b/ChangeLog.md index 2d5fe2ab..8de145fe 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/doc/config.md b/doc/config.md index 1e6b2236..c961d15c 100644 --- a/doc/config.md +++ b/doc/config.md @@ -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