#!/sbin/openrc-run # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ command=/usr/sbin/bacula-dir command_args="${DIR_OPTIONS}" pidfile=/path/to/bacula-dir.pid depend() { need net if yesno "${LOCAL_DB}"; then need "%database%" fi use dns bacula-fd bacula-sd }