#! /bin/sh ### BEGIN INIT INFO # Provides: origo-config # Required-Start: $local_fs $remote_fs $network origo-core mysql # Required-Stop: $local_fs $remote_fs $network origo-core mysql # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the origo config node # Description: Controls the origo 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="Origo config node" NAME=origo-config DAEMON=/usr/local/sbin/origo/$NAME DAEMON_ARGS="-d -n config\$NODE_ID" SCRIPTNAME=/etc/init.d/$NAME WORK_DIR="/var/log/origo/origo-config\$NODE_ID" PIDFILE="/var/run/origo/config\$NODE_ID.pid"