diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-17 20:38:15 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-17 20:38:15 +0000 |
commit | 33a45e7c14bcabf37b2e6a1220ad5e5c14151374 (patch) | |
tree | f58b59ca47357f9ad1d2c586e464aafb0aaa2d50 /net-mail/courier-imap | |
parent | Patched /usr/lib/courier-imap/imapd.rc to use $MAILDIR (which gets defined (diff) | |
download | historical-33a45e7c14bcabf37b2e6a1220ad5e5c14151374.tar.gz historical-33a45e7c14bcabf37b2e6a1220ad5e5c14151374.tar.bz2 historical-33a45e7c14bcabf37b2e6a1220ad5e5c14151374.zip |
Also modified ebuild for imapd-ssl. Added rc6 init scripts to files
directory, but not yet to /etc/init.d.
Diffstat (limited to 'net-mail/courier-imap')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-rc6 | 25 | ||||
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-ssl-rc6 | 25 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-rc6 b/net-mail/courier-imap/files/courier-imap-rc6 new file mode 100644 index 000000000000..e60e955023d3 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-rc6 @@ -0,0 +1,25 @@ +#!/sbin/runscript + +depend() { + need net +} + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd ] ; then + eerror "You need an /etc/courier-imap/imapd file to run Courier imap" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting Courier imap" + /usr/lib/courier-imap/imapd.rc start + eend $? +} + +stop() { + ebegin "Stopping Courier imap" + /usr/lib/courier-imap/imapd.rc stop + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-ssl-rc6 b/net-mail/courier-imap/files/courier-imap-ssl-rc6 new file mode 100644 index 000000000000..fae38b7b91af --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-ssl-rc6 @@ -0,0 +1,25 @@ +#!/sbin/runscript + +depend() { + need net +} + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd ] ; then + eerror "You need an /etc/courier-imap/imapd file to run Courier imap" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting Courier SSL imap" + /usr/lib/courier-imap/imapd-ssl.rc start + eend $? +} + +stop() { + ebegin "Stopping Courier SSL imap" + /usr/lib/courier-imap/imapd-ssl.rc stop + eend $? +} |