Start the monitoring and node daemons together
authorMichele Tartara <mtartara@google.com>
Mon, 13 May 2013 14:00:17 +0000 (14:00 +0000)
committerMichele Tartara <mtartara@google.com>
Tue, 14 May 2013 16:59:07 +0000 (17:59 +0100)
commit66234263d3f5a18d272c94da425151c6e45154c6
treec64cc2172cd3a063e80df4084a36c21cb9d4a4b5
parent5bb9ecc0762dac739a8e805de842c234849e8b82
Start the monitoring and node daemons together

Add the monitoring daemon to the command starting the node daemon, given that
they both have to be started on all nodes.

Note that daemon-util only supports starting one daemon at the time, so the
actual command has to be composed as a sequence of two different daemon-util
invocations.

Also, the monitoring daemon invocation is conditional, depending on whether it
was enabled at configure time.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/tools/node_daemon_setup.py