The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rc.sc_dbwatch - Database watcher

SYNOPSIS

  rc.sc_dbwatch start
  rc.sc_dbwatch restart
  rc.sc_dbwatch stop

DESCRIPTION

  rc.sc_dbwatch start
        Start the db watcher and configured db daemons
        any previously running db tasks are first terminated
        with a SIGTERM and if the do not respond with a SIGKILL

  rc.sc_dbwatch restart
        Previous instance of rc.sc_dbwatch is terminated 
        with a SIGTERM or SIGKILL if unresponsive. Configured
        db daemons are terminated using the STOP method in
        the sc_dbwatch.conf file. sc_dbwatch then uses the 
        start method described above to terminate any other
        db tasks and restart the configured daemons.

  rc.sc_dbwatch stop
        Previous instance of rc.sc_dbwatch is terminated
        with a SIGTERM or SIGKILL if unresponsive. Configured
        db daemons are terminated using the STOP method in
        the sc_dbwatch.conf file.

The rc.sc_dbwatch daemon expects its configuration file to contain information about all daemons that will use the database. Cron jobs are not configured though they will be blocked or killed if they register their PID and if there is a database fault.

AUTHOR

Michael Robinton <michael@bizsystems.com>

COPYRIGHT

Copyright 2003 - 2008, Michael Robinton <michael@bizsystems.com> This script is free software; you can redistribute it and/or modify it under the terms of the GPL software license.