Ticket #512: imapd-ssl.sh

File imapd-ssl.sh, 482 bytes (added by bchesneau@…, 22 years ago)

imapd-ssl.sh

Line 
1#!/bin/sh
2NAME=imapd-ssl
3CAT=/bin/cat
4KILL=/bin/kill
5
6case "$1" in
7
8start)
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
15stop)
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
27esac