#! /bin/sh ### BEGIN INIT INFO # Provides: aranea-java-mail # 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 java mail node # Description: Controls the aranea mail node which allows # to send emails. ### END INIT INFO # 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 Java mail node" NAME=aranea-java-mail DAEMON=/usr/lib/$NAME/aranea DAEMON_ARGS="-consolelog -n mail\$NODE_ID" SCRIPTNAME=`basename $0` WORK_DIR="/var/log/aranea/aranea-java-mail\$NODE_ID" PIDFILE=$WORK_DIR/$NAME.pid