#! /bin/sh ### BEGIN INIT INFO # Provides: aranea-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 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 mail node" NAME=aranea-mail DAEMON=/usr/sbin/$NAME DAEMON_ARGS="-d -n mail\$NODE_ID" SCRIPTNAME=/etc/init.d/$NAME WORK_DIR="/var/log/aranea/aranea-mail\$NODE_ID" PIDFILE="/var/run/mail\$NODE_ID.pid"