daemon-util: Add function to start and stop all daemons
authorMichael Hanselmann <hansmi@google.com>
Thu, 11 Mar 2010 16:16:28 +0000 (17:16 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 12 Mar 2010 15:44:43 +0000 (16:44 +0100)
commit2250afb3a4aaa7392822516f8d75c0c206a33eee
treeb4b88bde9e670f26a8400aef0361600f3bc4a494
parent5d8acbdd9064fc61f501167acef91462faf9d916
daemon-util: Add function to start and stop all daemons

This is, to some degree, duplicated code from the init script. However,
the init script has to conform to standards of the underlying Linux
distributions, while these functions will be called by Ganeti itself. By
moving more code into daemon-util, the amount of duplication has been
reduced.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
daemons/daemon-util.in