aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/daemon-depedencies
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-26 08:48:06 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-26 08:48:06 +0200
commit7c6ab3949045b9bb88059a62d67767457da472f8 (patch)
treee337abf4bbf7aba56f55c2d9c9a2d11ab0433997 /doc/examples/daemon-depedencies
parentfix bugs in examples/daemon-depedencies (diff)
downloadbus-7c6ab3949045b9bb88059a62d67767457da472f8.tar.gz
bus-7c6ab3949045b9bb88059a62d67767457da472f8.tar.bz2
bus-7c6ab3949045b9bb88059a62d67767457da472f8.tar.xz
add readme for examples/daemon-depedencies2.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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.
+