summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/bareos/files/bareos-fd.service')
-rw-r--r--app-backup/bareos/files/bareos-fd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-backup/bareos/files/bareos-fd.service b/app-backup/bareos/files/bareos-fd.service
new file mode 100644
index 000000000000..103286094250
--- /dev/null
+++ b/app-backup/bareos/files/bareos-fd.service
@@ -0,0 +1,12 @@
+[Unit]
+ Description=Bareos File Daemon
+ After=syslog.target network.target
+
+[Install]
+ WantedBy=multi-user.target
+
+[Service]
+ Type=forking
+ User=root
+ ExecStartPre=-/bin/mkdir /run/bareos
+ ExecStart=/usr/sbin/bareos-fd