]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/systemd/bacula-sd.service.in
Fix segfault in accurate code
[bacula/bacula] / bacula / platforms / systemd / bacula-sd.service.in
1 # This file is part of package Bacula Storage Daemon
2 #
3 # Copyright (c) 2011 Free Software Foundation Europe e.V.
4 # for Bacula Community
5 # Author: Bruno Friedmann
6 # Description:
7 #    Used to start the bacula storage daemon service (bacula-sd)
8 #    will be installed as /lib/systemd/system/bacula-sd.service
9 #    enable : systemctl enable bacula-sd.service
10 #    start : systemctl start bacula-sd.service
11 #
12 # Bacula Storage Daemon service
13 #
14 [Unit]
15 Description=Bacula Storage 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-sd.pid
25 # EnvironmentFile=-/etc/sysconfig/bacula-sd
26 StandardOutput=syslog
27 ExecStart=@sbindir@/bacula-sd -u @sd_user@ -g @sd_group@ -c @sysconfdir@/bacula-sd.conf
28
29 [Install]
30 WantedBy=multi-user.target