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