aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/examples/daemon-depedencies/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/examples/daemon-depedencies/README b/doc/examples/daemon-depedencies/README
new file mode 100644
index 0000000..a9f5783
--- /dev/null
+++ b/doc/examples/daemon-depedencies/README
@@ -0,0 +1,19 @@
+Use-case example.
+
+This example shows how bus can be used in a init
+system to provide "aggressivly" parallel startup
+of daemons.
+
+
+First of, run make to build this example.
+
+To start the example run ./init. It will print in
+red export-statement you may want to run i other
+terminals. You will need to select at least one
+daemon, for example you can run `./init d-ntp`.
+The available pretend daemons are: d-network,
+d-ntp and d-ssh.
+
+When you are done run ./cleanup with BUS_INIT
+exported with the value printed by ./init.
+