#!/bin/sh
#
# $FreeBSD: ports/security/drweb/files/drwebd.in,v 1.1 2009/02/04 10:26:35 pgollucci 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="/usr/local/drweb/drwebd"}

command=$drwebd_procname
pidfile=$drwebd_pidfile

run_rc_command "$1"

