From e2eaee9620979d7969a51b5c28199595d5a28052 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 20 May 2013 15:25:10 +0200 Subject: [PATCH] TODO: Add entry on mimicing Debian SysV init rcS.d, runs once at boot. Signed-off-by: Joachim Nilsson --- TODO.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/TODO.rst b/TODO.rst index 519f0991..61b56147 100644 --- a/TODO.rst +++ b/TODO.rst @@ -31,21 +31,26 @@ processes that declare themselves to be finit compliant. restarting it is imposible, as well as when system load gets too high. +Configuration +------------- + * Add support for "init " and SIGHUP to + reload finit.conf, but also + * Add support for inotify to automatically reload finit.conf Runlevels --------- + * Add support for "runlevel N" to finit.conf * Improve support for runlevels: startup, running (services from finit.conf), and shutdown as well as hooks when switching RL, startup at RL 1 and a default run level. * Implement initctl stop|start|restart|reload|status and service stop|start|restart|reload|status on top * Add PRE and POST hooks for when changing runlevels - -Configuration -------------- - * Add support for "init " and SIGHUP to - reload finit.conf, but also - * Add support for inotify to automatically reload finit.conf + * SysV init in Debian uses an rcS.d/ for scripts that should run once + at boot. These scripts are run before the actual runlevel set in + inittab. In finit we could use "task [S]" and "boot [S]" for this. + * Add support for a new runlevel 'S' that is started before all other + services in the selected runlevel. Services and Tasks ------------------