bareos2015: bareos-14.2 7b737917

Author Committer Branch Timestamp Parent
pstorz mvwieringen bareos-14.2 2014-03-19 14:11 bareos-14.2 94a5502f 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