1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/mail/gld/files/gld.in
Pav Lucistnik c1c1cfb197 - Improve rc script handling
- Modernize pkg-message

PR:		ports/91780
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2006-01-14 17:08:46 +00:00

31 lines
476 B
Bash

#!/bin/sh
#
# $FreeBSD$
# was: $ FreeBSD: ports/mail/gld/files/gld.sh.tmpl,v 1.2 2004/09/01 08:06:24 vs Exp $
#
# PROVIDE: gld
# REQUIRE: DAEMON %%MYSQL%% %%PGSQL%%
# BEFORE: mail postfix
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf[.local] to enable gld:
#
# gld_enable="YES"
#
. %%RC_SUBR%%
name=gld
rcvar=`set_rcvar`
load_rc_config $name
: ${gld_enable-"NO"}
command=%%PREFIX%%/sbin/gld
required_files=%%PREFIX%%/etc/gld.conf
run_rc_command "$1"