Doing the after network-online.target was not sufficient.
: Config error: Cannot add hostname(adayevskaya.debian.org) and port(9102) to addrlist (Cannot resolve hostname(adayevskaya.debian.org) Temporary failure in name resolution)
: : line 23, col 5 of file /etc/bacula/bacula-fd.conf
: }
ensure => $ensure,
content => @(EOF),
[Unit]
- After=network-online.target
+ After=unbound.service
[Service]
ExecStart=
ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k
dsa_systemd::override { 'bacula-sd':
content => @(EOT)
[Unit]
- After=network-online.target
+ After=unbound.service
[Service]
Group=bacula
SupplementaryGroups=ssl-cert