FS#24672 - [courier-imap] Make separate scripts for imapd and imapd-ssl
Attached to Project:
Community Packages
Opened by Lauri Kenttä (LK) - Friday, 10 June 2011, 23:04 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 15 June 2011, 10:38 GMT
Opened by Lauri Kenttä (LK) - Friday, 10 June 2011, 23:04 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 15 June 2011, 10:38 GMT
|
Details
Description:
courier-imap has two daemons, imapd and imapd-ssl. Currently they're both started with /etc/rc.d/courier-imap, but in /run/daemons we still have imapd and imapd-ssl. This has a couple of drawbacks: 1) The rc.d utility prints [STOPPED] courier-imap, because there's no /run/daemon/courier-imap. 2) The (sub)daemons are listed in /etc/conf.d/courier-imap instead of just /etc/rc.conf. 3) There isn't an easy way to start and stop only one of the daemons without touching the other. The /etc/rc.d/courier-imap script should be split into separate scripts for imapd and imapd-ssl. For compatibility, the courier-imap script could be made a wrapper for these two. Additional information: * package version: courier-imap 4.9.3-1 Steps to reproduce: * rc.d start courier-imap * rc.d list | grep imap * ls /run/daemons/ | grep imap |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 15 June 2011, 10:38 GMT
Reason for closing: Implemented
Wednesday, 15 June 2011, 10:38 GMT
Reason for closing: Implemented
Comment by
Sven-Hendrik Haase (Svenstaro) -
Wednesday, 15 June 2011, 06:49 GMT
Actually we are looking at 4 daemons here, don't forget the pop3
daemons. I will look into this. It will be a lot of code
duplication though.
Comment by
Sven-Hendrik Haase (Svenstaro) -
Wednesday, 15 June 2011, 06:50 GMT
I will also have to change courier-mta.
Comment by
Sven-Hendrik Haase (Svenstaro) -
Wednesday, 15 June 2011, 09:37 GMT
Pushed -3. Please try it. I tested it on my production system and
all went well.