blob: cfe510d1513718f10abca5d1c6edff7871f2fd89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/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"
|