From 7c6ab3949045b9bb88059a62d67767457da472f8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Apr 2015 08:48:06 +0200 Subject: add readme for examples/daemon-depedencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/examples/daemon-depedencies/README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/examples/daemon-depedencies/README (limited to 'doc/examples/daemon-depedencies') 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. + -- cgit v1.2.3-70-g09d2