blob: ef6fd4629ad3239ddf60255ac5b3d04df6223817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: freshclamd.sh,v 1.5 2007/06/17 22:06:33 wiz Exp $
#
# PROVIDE: freshclamd
# REQUIRE: DAEMON LOGIN clamd
name="freshclamd"
rcvar=$name
command="@PREFIX@/bin/freshclam"
required_files="@PKG_SYSCONFDIR@/freshclam.conf"
pidfile="@CLAMAV_DBDIR@/${name}.pid"
freshclamd_user="@CLAMAV_USER@"
freshclamd_flags=${freshclamd_flags:=-c 2}
command_args="-d -p $pidfile"
. /etc/rc.subr
load_rc_config $name
run_rc_command "$1"
|