#!/sbin/runscript depend() { need net after bootmisc } start() { ebegin "Starting Coherence" start-stop-daemon \ --start \ --make-pidfile \ --pidfile ${COHERENCE_PIDFILE} \ --exec /usr/bin/coherence \ --user ${COHERENCE_USER} \ --group ${COHERENCE_GROUP} \ --background \ -- \ -c ${COHERENCE_CONFIG} \ -o serverport:${COHERENCE_PORT} \ -o logfile:${COHERENCE_LOGFILE} \ -o interface:${COHERENCE_INTERFACE} \ ${COHERENCE_OPTIONS} eend $? } stop() { ebegin "Stopping Coherence" start-stop-daemon \ --stop \ --retry 20 \ --pidfile ${COHERENCE_PIDFILE} eend $? }