]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/systemd/bacula-fd.service.in
Add systemd files
[bacula/bacula] / bacula / platforms / systemd / bacula-fd.service.in
1 File daemon ( actually work well)
2 # This file is part of package Bacula File Daemon
3 #
4 # Copyright (c) 2011 Free Software Foundation Europe e.V.
5 # Bacula Community
6 # Author: Bruno Friedmann
7 # Description:
8 #    Used to start the bacula file daemon service (bacula-fd)
9 #    will be installed as /lib/systemd/system/bacula-fd.service
10 #    enable : systemctl enable bacula-fd.service
11 #        start : systemctl start bacula-fd.service
12 #
13 # Bacula File Daemon service
14 #
15 [Unit]
16 Description=Bacula File Daemon service
17 Requires=var-run.mount nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
18 After=var-run.mount nss-lookup.target network.target remote-fs.target syslog.target time-sync.target
19 # Wants=
20 # Before=
21 # Conflicts=
22
23 [Service]
24 Type=forking
25 PIDFile=@piddir@/bacula-fd.pid
26 StandardOutput=syslog
27 ExecStart=@sbindir@/bacula-fd -u @fd_user@ -g @fd_group@ -c @sysconfdir@/bacula-fd.conf
28
29 [Install]
30 WantedBy=multi-user.target