freebsd-ports/security/drweb/files/drwebd.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

24 lines
430 B
Bash

#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/security/drweb/files/Attic/drwebd.in,v 1.2 2010-03-27 00:14:43 dougb Exp $
# PROVIDE: drwebd
# REQUIRE: DAEMON
# BEFORE: mail
. /etc/rc.subr
name="drwebd"
rcvar=`set_rcvar`
load_rc_config $name
: ${drwebd_enable="NO"}
: ${drwebd_pidfile="/var/drweb/run/drwebd.pid"}
: ${drwebd_procname="%%PREFIX%%/drweb/drwebd"}
command=$drwebd_procname
pidfile=$drwebd_pidfile
run_rc_command "$1"