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


1.2
date	2009.01.28.09.19.29;	author wschlich;	state dead;
branches;
next	1.1;
commitid	7ebc4980231f4567;

1.1
date	2008.07.29.12.00.46;	author wschlich;	state Exp;
branches;
next	;
commitid	38b0488f066d4567;


desc
@@


1.2
log
@version bump, removed old versions
(Portage version: 2.2_rc13/cvs/Linux 2.6.24-gentoo-r5-1 i686)
@
text
@#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.4.2/bacula-dir-init,v 1.1 2008/07/29 12:00:46 wschlich Exp $

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

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
@version bump
(Portage version: 2.1.5.6)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.4.1/bacula-dir-init,v 1.1 2008/07/11 08:38:03 wschlich Exp $
@

