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


1.4
date	2009.02.03.15.25.18;	author wschlich;	state dead;
branches;
next	1.3;
commitid	7ac2498861dc4567;

1.3
date	2008.03.22.16.26.15;	author wschlich;	state Exp;
branches;
next	1.2;
commitid	6ecf47e533254567;

1.2
date	2008.03.19.13.38.54;	author wschlich;	state Exp;
branches;
next	1.1;
commitid	716847e1176d4567;

1.1
date	2007.03.10.21.41.31;	author wschlich;	state Exp;
branches;
next	;
commitid	6a7c45f3260a4567;


desc
@@


1.4
log
@removed old versions
(Portage version: 2.2_rc13/cvs/Linux 2.6.24-gentoo-r5-1 i686)
@
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.0.3/bacula-dir-init,v 1.3 2008/03/22 16:26:15 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.3
log
@fixed wrong quoting
(Portage version: 2.1.4.4)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.0.3/bacula-dir-init,v 1.2 2008/03/19 13:38:54 wschlich Exp $
@


1.2
log
@removed old versions
(Portage version: 2.1.4.4)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.0.3/bacula-dir-init,v 1.1 2007/03/10 21:41:31 wschlich Exp $
d8 1
a8 1
	if [ ""${LOCAL_DB}"" -eq 1 ]; then
@


1.1
log
@version bump
(Portage version: 2.1.2-r12)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/2.0.2/bacula-dir-init,v 1.1 2007/02/28 14:40:44 wschlich Exp $
d8 1
a8 1
	if [ ${LOCAL_DB} -eq 1 ]; then
@

