forked from Lainports/freebsd-ports
- While here: fix DISTNAME/DISTFILES and ordering pet portlint rename rc.d scripts from foo.sh -> foo.in (.sh is legacy) PR: ports/131292, ports/131293, ports/131300, ports/131301 Submitted by: Demin Alexander <support@spectrum.ru> (maintainer)
24 lines
433 B
Bash
24 lines
433 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/security/drweb/files/Attic/drwebd.in,v 1.1 2009-02-04 10:26:35 pgollucci Exp $
|
|
|
|
# PROVIDE: drwebd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: mail
|
|
|
|
. %%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"
|
|
|