#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { use lm_sensors } start() { /sbin/start-stop-daemon --quiet --start --pidfile /var/run/collectd.pid --exec /usr/sbin/collectd -- -d ${DATA_BASEDIR} $(for p in ${PING_HOSTS:-}; do echo -p $p ; done) } stop() { /sbin/start-stop-daemon --quiet --stop --signal INT --pidfile /var/run/collectd.pid }