Ticket #512: imapd-ssl.sh
File imapd-ssl.sh, 482 bytes (added by bchesneau@…, 22 years ago) |
---|
Line | |
---|---|
1 | #!/bin/sh |
2 | NAME=imapd-ssl |
3 | CAT=/bin/cat |
4 | KILL=/bin/kill |
5 | |
6 | case "$1" in |
7 | |
8 | start) |
9 | echo "starting courier-imap - imapd-ssl" |
10 | source __PREFIX/etc/courier/imapd |
11 | source __PREFIX/etc/courier/imapd-ssl |
12 | __PREFIX/libexec/imapd-ssl.rc start |
13 | ;; |
14 | |
15 | stop) |
16 | echo "stopping courier-imap - imapd-ssl" |
17 | source __PREFIX/etc/courier/imapd |
18 | source __PREFIX/etc/courier/imapd-ssl |
19 | __PREFIX/libexec/imapd-ssl.rc stop |
20 | ;; |
21 | |
22 | *) |
23 | echo "Usage: __PREFIX/etc/rc.d/$NAME {start|stop}" |
24 | exit 1 |
25 | ;; |
26 | |
27 | esac |