#!/bin/sh # chkconfig: 3 80 30 # description: SASL case "$1" in start) echo -n "Starting Cyrus-SASL: " /usr/local/sbin/saslauthd -a pam ;; stop) echo -n "Shutting down Cyrus-SASL: " /usr/bin/killall saslauthd ;; restart) $0 stop $0 start ;; *) echo -n "Usage: $0 {start|stop|restart" exit 1 esac exit 0