Package: bacula-director-common
Version: 5.2.6+dfsg-6

Hi,

Indeed, any SQL backend (postgresql, mysql ..) does not have to be
local. But in case it is local (as I and many probably have) this
needs to be declared correctly in the init script:

#! /bin/sh
### BEGIN INIT INFO
# Provides:          bacula-director
# Required-Start:    $remote_fs $syslog
# Should-Start:      bacula-fd postgresql
# Required-Stop:     $remote_fs $syslog
# Should-Stop:       bacula-fd postgresql
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
### END INIT INFO

Because the declaration is on "Should-*" it doesn't affect those who
don't have the SQL service on the local system. Its the same mechanism
used for 'bacula-fd' (which I don't have it installed on the Bacula
server).

I'm currently settings this in /etc/insserv/overrides/bacula-director.
You might want to add what others provide in their init script too
(i.e. mysql).

Cheers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to