#! /bin/sh ### BEGIN INIT INFO # Provides: origo-storage # 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 storage node # Description: Controls the origo storage node which provides # a storage repository and authentication and # authorizations services. ### 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 storage node" NAME=origo-storage DAEMON=/usr/sbin/$NAME DAEMON_ARGS="-d -n storage\$NODE_ID" SCRIPTNAME=/etc/init.d/$NAME WORK_DIR="/var/log/aranea/origo-storage\$NODE_ID" PIDFILE="/var/run/storage\$NODE_ID.pid"