summarylogtreecommitdiffstats
path: root/bacula-fd.service
diff options
context:
space:
mode:
Diffstat (limited to 'bacula-fd.service')
-rw-r--r--bacula-fd.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/bacula-fd.service b/bacula-fd.service
new file mode 100644
index 000000000000..90bd6a9ab36a
--- /dev/null
+++ b/bacula-fd.service
@@ -0,0 +1,19 @@
+# systemd service file for Bacula File Deaemon
+#
+# we do not take the service file provided by bacula package as it needs too
+# much customization
+
+[Unit]
+Description=Bacula File Deaemon
+Requires=network.target
+After=network.target remote-fs.target syslog.target
+
+[Service]
+Type=forking
+Restart=always
+ExecStart=/usr/bin/bacula-fd -c /etc/bacula/bacula-fd.conf
+IOSchedulingClass=idle
+PIDFile=/run/bacula-fd.9102.pid
+
+[Install]
+WantedBy=multi-user.target