mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 06:23:11 +07:00
TODO: Update with plan for dynamic services being loaded from /etc/finit.d
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -18,6 +18,23 @@ very low dependency on external packages.
|
||||
General
|
||||
-------
|
||||
|
||||
* Make it possible to at least reload .conf files in `/etc/finit.d/` --
|
||||
At first all we need to support is the service directive, All other
|
||||
directives, read from `/etc/finit.conf`, can remain static.
|
||||
* Make initctl synchroneous, don't let `init 1` return until finit
|
||||
has successfully entered runlevel 1, all proceses have been stopped.
|
||||
* Add `!` or `[wait <pidfile>]` to service directive to let finit pause
|
||||
and wait for a pidfile before starting processes -- both at boot and
|
||||
when starting processes in a runlevel.
|
||||
* Allow process callbacks to be scripts.
|
||||
* Add support for a pipe/popen where we can listen for `STOP`, `START`
|
||||
and `RELOAD` on `STDOUT` from a script ... call it for instance
|
||||
`.monitor=` in `svc_t` ... the script named as the basename of the
|
||||
service it monitors + `.sh`.
|
||||
* The `runparts` directive may need to be deprecated, or to have its
|
||||
semantics changed. We need `/etc/finit.d/` for extending `finit.conf`
|
||||
-- if not possible, then maybe filter out the service monitor scripts
|
||||
before running the scripts?
|
||||
* Add compile-time supoprt for running `/bin/sh` instead of `getty`
|
||||
* Add support for `init <q | reload-configuration>` and `SIGHUP` to
|
||||
have finit reload its `finit.conf`, but also
|
||||
|
||||
Reference in New Issue
Block a user