blob: 9a60c49ee40094e73b1ac655c41f8c1b951c95b0 (
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: vnstatd.sh,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $
#
# PROVIDE: vnstatd
# REQUIRE: network mountcritlocal
$_rc_subr_loaded . /etc/rc.subr
name="vnstatd"
rcvar=$name
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
command_args="-d -p $pidfile"
required_dirs="@VARBASE@/db/vnstat"
required_files="@PKG_SYSCONFDIR@/vnstat.conf"
load_rc_config $name
run_rc_command "$1"
|