#!/bin/sh #RCUPDATE:2 3 4:75:This line is required for script management . /etc/rc.d/config/functions SERVICE=exim opts="start stop restart" PIDFILE=/var/run/exim.pid EXE=/usr/sbin/exim ARGS="-bd -q15m" start() { ebegin "Starting $SERVICE..." start-stop-daemon --start --quiet --exec $EXE -- $ARGS eend $? "Started $SERVICE." "Error Starting $SERVICE." } stop() { ebegin "Stopping $SERVICE..." start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." } restart() { stop start } doservice ${@}