mirror of
https://github.com/troglobit/finit.git
synced 2026-09-30 21:13:01 +07:00
This adds a new function conf_save_service() replacing service_register() for plugins and bundled services like watchdogd, keventd, runparts, etc. The benefits to this change are several: - Plugin/Bundled services no longer risk starting before udev or other critical services/task have started - Definitions can be overridden by an administrator (see docs) - Increases visibility (user: where are all these services coming from?) Previously the origin (file the service was loaded from) was NULL. - Adds another level of extensibility to Finit The most notable change is that dbus is no longer started before udevd. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
15 lines
487 B
Plaintext
15 lines
487 B
Plaintext
# Finit expects to run on a Linux FHS compatible system.
|
|
# Preferably one where /run is used and is a RAM disk.
|
|
|
|
# This should be set up but OS/dist but is sometimes missing
|
|
# Note: l+ == only if ../run exists, if so, rm -rf /var/run
|
|
l+ /var/run - - - - ../run
|
|
|
|
# Finit directories
|
|
d /run/finit 0755 - - -
|
|
d /run/finit/cond 0755 - - -
|
|
d /run/finit/cond/pid 0755 - - -
|
|
d /run/finit/cond/sys 0755 - - -
|
|
d /run/finit/cond/usr 0755 - - -
|
|
d /run/finit/system 0755 - - -
|