Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,26 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: collectd.sh,v 1.1 2014/02/17 11:21:55 fhajny Exp $
#
# PROVIDE: collectd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start collectd:
#
# collectd=YES
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="collectd"
rcvar=${name}
command=@PREFIX@/sbin/collectd
pidfile="@VARBASE@/run/collectd.pid"
required_files=@PKG_SYSCONFDIR@/collectd.conf
load_rc_config ${name}
run_rc_command "$1"