bareos: master 28d604a2

Author Committer Branch Timestamp Parent
pstorz mvwieringen master 2014-03-19 13:11 master 913a1d8d Pending
Affected Issues  0000286: Alter the startscripts to run the daemons with -t before starting them
Changeset check cfg and db conn before startup of director

We now use the possibilty to check the configuration
and database connection on startup of the director before
we really startup the daemon so that we get direct
feedback if something is wrong.

Before, we did not get any feedback because the director
forked so problems only were visible in the logfile.

Without systemd, we get the output directly, with systemd we
need to call "systemctl status bareos-dir.service"

Fixes 0000286: Alter the startscripts to run the daemons with -t before starting them

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File