#!/bin/sh
#
# $FreeBSD: ports/mail/gld/files/gld.in,v 1.1 2006/01/14 17:08:46 pav Exp $
# was: $ FreeBSD: ports/mail/gld/files/gld.sh.tmpl,v 1.2 2004/09/01 08:06:24 vs Exp $
#

# PROVIDE: gld
# REQUIRE: DAEMON  %%PGSQL%%
# BEFORE: mail postfix
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf[.local] to enable gld:
#
# gld_enable="YES"
#

. /etc/rc.subr

name=gld
rcvar=`set_rcvar`

load_rc_config $name

: ${gld_enable-"NO"}

command=/usr/local/sbin/gld
required_files=/usr/local/etc/gld.conf

run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1