File: //lib/systemd/system/bacula-fd.service
# Systemd Bacula service file
#
# Copyright (C) 2000-2022 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
# /lib/systemd/system/bacula-fd.service
#
# Description:
# Used to start the bacula file daemon service (bacula-fd)
#
# enable : systemctl enable bacula-fd
# start : systemctl start bacula-fd
#
#
# from http://www.freedesktop.org/software/systemd/man/systemd.unit.html
[Unit]
Description=Bacula File Daemon service
Requires=network.target
After=network.target
RequiresMountsFor=/opt/bacula/working /opt/bacula/etc /opt/bacula/bin
# from http://www.freedesktop.org/software/systemd/man/systemd.service.html
[Service]
Type=simple
User=root
Group=bacula
ExecStart=/opt/bacula/bin/bacula-fd -fP -c /opt/bacula/etc/bacula-fd.conf
SuccessExitStatus=15
[Install]
WantedBy=multi-user.target