content => @(EOF),
[Unit]
After=network-online.target
+ [Service]
+ ExecStart=
+ ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k
| EOF
}
group => root,
notify => Service['bacula-fd'],
}
- if (versioncmp($::lsbmajdistrelease, '9') >= 0 and $facts['systemd']) {
- dsa_systemd::override { 'bacula-fd':
- content => @(EOT)
- [Service]
- ExecStart=
- ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k
- | EOT
- }
- } else {
- dsa_systemd::override { 'bacula-fd':
- ensure => absent,
- }
- }
}