diff options
Diffstat (limited to 'app-backup/bacula/files/newscripts/bacula-dir.initd')
-rwxr-xr-x | app-backup/bacula/files/newscripts/bacula-dir.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-backup/bacula/files/newscripts/bacula-dir.initd b/app-backup/bacula/files/newscripts/bacula-dir.initd new file mode 100755 index 000000000000..d717f07f7926 --- /dev/null +++ b/app-backup/bacula/files/newscripts/bacula-dir.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +command=/usr/sbin/bacula-dir +command_args="${DIR_OPTIONS}" +pidfile=/var/run/bacula-dir.9101.pid + +depend() { + need net + if [ "${LOCAL_DB}" -eq 1 ]; then + : + fi + use dns bacula-fd bacula-sd +} + |