aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/bareos-dir.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/bareos/bareos-dir.initd')
-rw-r--r--community/bareos/bareos-dir.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/bareos/bareos-dir.initd b/community/bareos/bareos-dir.initd
new file mode 100644
index 0000000000..1ea2b6aecc
--- /dev/null
+++ b/community/bareos/bareos-dir.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+name="Bareos Director"
+command=/usr/sbin/bareos-dir
+pidfile=/run/$RC_SVCNAME.pid
+
+depend() {
+ need net
+ after firewall
+ use dns bareos-fd bareos-sd postgresql mariadb
+}