]> git.ipfire.org Git - ipfire-2.x.git/blob - src/init.d/cyrus-sasl
Hinzugefuegt:
[ipfire-2.x.git] / src / init.d / cyrus-sasl
1 #!/bin/sh
2 # Begin /etc/init.d/cyrus-sasl
3
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
6
7 #$LastChangedBy: bdubbs $
8 #$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
9
10 . /etc/init.d/init-functions
11
12 case "$1" in
13 start)
14 boot_mesg "Starting the Cyrus SASL Server..."
15 loadproc /usr/sbin/saslauthd -a pam
16 ;;
17
18 stop)
19 boot_mesg "Stopping the Cyrus SASL Server..."
20 killproc /usr/sbin/saslauthd
21 ;;
22
23 restart)
24 $0 stop
25 sleep 1
26 $0 start
27 ;;
28
29 status)
30 statusproc /usr/sbin/saslauthd
31 ;;
32
33 *)
34 echo "Usage: $0 {start|stop|restart|status}"
35 exit 1
36 ;;
37 esac
38
39 # End /etc/init.d/cyrus-sasl