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