aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/daemon-dependencies/README
blob: 239a4ad3fd44ce9ea4946d332a9efe1e7564795d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Use-case example.

This example shows how bus can be used in an 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.