summaryrefslogtreecommitdiffstats
path: root/roles/bacula-sd/files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-sd/files/lib')
-rw-r--r--roles/bacula-sd/files/lib/systemd/system/bacula-sd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/bacula-sd/files/lib/systemd/system/bacula-sd.service b/roles/bacula-sd/files/lib/systemd/system/bacula-sd.service
new file mode 100644
index 0000000..4c3f81d
--- /dev/null
+++ b/roles/bacula-sd/files/lib/systemd/system/bacula-sd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Bacula Storage Daemon service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/bacula/bacula-sd.9113.pid
+StandardOutput=syslog
+User=bacula
+Group=tape
+ExecStart=/usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf
+
+[Install]
+WantedBy=multi-user.target