diff options
Diffstat (limited to 'mail-mta/citadel/files')
-rw-r--r-- | mail-mta/citadel/files/citadel.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail-mta/citadel/files/citadel.init b/mail-mta/citadel/files/citadel.init index 29b058635..023f6ec74 100644 --- a/mail-mta/citadel/files/citadel.init +++ b/mail-mta/citadel/files/citadel.init @@ -17,15 +17,15 @@ SENDCOMMAND="/usr/sbin/sendcommand" # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 -svc_start() { +start() { ebegin "Starting citserver" start-stop-daemon --start --exec /usr/sbin/citserver -- ${CITSERVER_OPTS} eend $? } -svc_stop() { +stop() { ebegin "Stopping citserver" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + ${SENDCOMMAND} DOWN &>/dev/null eend $? } |