]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/systemd/bacula-fd.service.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / bacula / platforms / systemd / bacula-fd.service.in
1 # Systemd Bacula service file
2 #
3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6 # /lib/systemd/system/bacula-fd.service
7 #
8 # Description:
9 #    Used to start the bacula file daemon service (bacula-fd)
10 #
11 #    enable : systemctl enable bacula-fd
12 #    start : systemctl start bacula-fd
13 #
14 #
15
16 # from http://www.freedesktop.org/software/systemd/man/systemd.unit.html
17 [Unit]
18 Description=Bacula File Daemon service
19 Requires=network.target
20 After=network.target
21 RequiresMountsFor=@working_dir@ @sysconfdir@ @sbindir@
22
23 # from http://www.freedesktop.org/software/systemd/man/systemd.service.html
24 [Service]
25 Type=simple
26 User=@fd_user@
27 Group=@fd_group@
28 ExecStart=@sbindir@/bacula-fd -fP -c @sysconfdir@/bacula-fd.conf
29 SuccessExitStatus=15
30
31 [Install]
32 WantedBy=multi-user.target