public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] courier-imap not starting!
Date: Mon, 14 Aug 2006 13:05:14 +0300	[thread overview]
Message-ID: <44E04ADA.9070400@ilievnet.com> (raw)
In-Reply-To: <20060813225757.GA20743@tux2>

Martin Richardson wrote:
> G'Dayy all,
> 	after an upgrade of baselayout, I noticed that courier-imap and 
> courier-imap-ssl was not starting from the init script. I have tracked it down to 
> the init script, as this script points to 
> /usr/lib/courier-imap/gentoo-courier-imap.rc, and I can start courier-imap directly 
> from this script but not the init script... Has anyone had this problem, or even 
> have a solution.
> Thankyou.
>   
Absolutely the same situation here.
I use "quick & dirty" workaround. I removed the /etc/init.d/ script so
it would be added next time there is an update and did:
echo '/scripts/imap.sh start' >> /etc/conf.d/local.start
echo '/scripts/imap.sh stop' >> /etc/conf.d/local.stop

The imap.sh reads:

#!/bin/bash
#courier-imapd-ssl temporary replacement

stop(){
        source /etc/courier-imap/imapd-ssl
        echo "Stopping courier-imapd over SSL"
        kill -TERM `cat $SSLPIDFILE`
}
start(){
        source /etc/courier-imap/imapd-ssl
        echo "Starting courier-imapd over SSL"
        exec env - /usr/lib/courier-imap/gentoo-imapd-ssl.rc
--pid=$SSLPIDFILE
        }
restart(){
        stop
        start
        }
$1
#EOF



-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-08-14 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-13 22:57 [gentoo-user] courier-imap not starting! Martin Richardson
2006-08-14 10:05 ` Daniel Iliev [this message]
2006-08-14 16:44 ` kashani
2006-08-15 11:16   ` Naga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E04ADA.9070400@ilievnet.com \
    --to=danny@ilievnet.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox