Please sign in to comment.
scheduler monitor (monitor_db_babysitter): Add --background option
The init script libraries for Red Hat based systems don't contain the start-stop-daemon function present on /lib/lsb/init-functions, commonly present on debian/ubuntu boxes. So, in order to implement a init script for RH-based systems, introduce the --background option for the scheduler monitor, which will fork it and detach it from the parent terminal. In order to do that, defer the logging configuration a little, also modify the interfaces for the logging config functions of this module a little. Signed-off-by: James Laska <email@example.com> Signed-off-by: Lucas Meneghel Rodrigues <firstname.lastname@example.org> git-svn-id: svn://test.kernel.org/autotest/trunk@5380 592f7852-d20e-0410-864c-8624ca9c26a4
- Loading branch information...
Showing with 46 additions and 14 deletions.