head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2008.03.12.12.00.06;	author wschlich;	state dead;
branches;
next	1.1;
commitid	440e47d7c5c24567;

1.1
date	2007.11.15.13.26.52;	author wschlich;	state Exp;
branches;
next	;
commitid	3a2d473c491b4567;


desc
@@


1.2
log
@removed old versions
(Portage version: 2.1.4)
@
text
@#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.2.6/bacula-dir-init,v 1.1 2007/11/15 13:26:52 wschlich Exp $

depend() {
	need net
	if [ ${LOCAL_DB} -eq 1 ]; then
		need "%database%"
	fi
	use dns
}

start() {
	ebegin "Starting bacula director"
	start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \
		-- ${DIR_OPTIONS}
	eend $?
}

stop() {
	ebegin "Stopping bacula director"
	start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid
	eend $?
}
@


1.1
log
@add missing files subdir for 2.2.6, remove unsuitable patch
(Portage version: 2.1.3.19)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.2.5/bacula-dir-init,v 1.1 2007/10/12 08:49:36 wschlich Exp $
@

