#! /bin/sh ### BEGIN INIT INFO # Provides: aranea-config # 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 aranea config node # Description: Controls the aranea config node which allows # to configure a server. ### 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="Aranea config node" NAME=aranea-config DAEMON=/usr/sbin/$NAME DAEMON_ARGS="-d -n config\$NODE_ID" SCRIPTNAME=/etc/init.d/$NAME WORK_DIR="/var/log/aranea/aranea-config\$NODE_ID" PIDFILE="/var/run/config\$NODE_ID.pid"