#! /bin/sh ### BEGIN INIT INFO # Provides: origo-rrd # Required-Start: $local_fs $remote_fs $network # Required-Stop: $local_fs $remote_fs $network # Should-Start: activemq # Should-Stop: activemq # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the origo rrd node # Description: Controls the origo rrd node which allows # access to rrd files. ### END INIT INFO # Author: Patrick Ruckstuhl # # Do NOT "set -e" # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Origo rrd node" NAME=origo-rrd DAEMON=/usr/sbin/$NAME DAEMON_ARGS="-d -n rrd\$NODE_ID" SCRIPTNAME=/etc/init.d/$NAME WORK_DIR="/var/log/aranea/origo-rrd\$NODE_ID" PIDFILE="/var/run/rrd\$NODE_ID.pid"