[Dovecot] starting with daemontools
Hi all,
I want to start dovecot through DJBs Daemontools-supervise, is there a configuration option that lets dovecot stay in foreground?
best regards, Jens
Am 18 Jun 2003 03:58:04 +0300 Timo Sirainen tss@iki.fi schrieb:
On Wed, 2003-06-18 at 02:18, Jens Gutzeit wrote:
I want to start dovecot through DJBs Daemontools-supervise, is there a configuration option that lets dovecot stay in foreground?
dovecot -F
Thanks. Seems that it isn't documented :)
Jens
On Wed, 18 Jun 2003, Jens Gutzeit wrote:
I want to start dovecot through DJBs Daemontools-supervise, is there a configuration option that lets dovecot stay in foreground?
Here's my run file, which only uses the imap binary from dovecot, and does connection control with tcpserver, auth by imapfront-auth, and SSL using a modified stunnel (Scott Gifford's chroot/proxy patch):
#!/bin/sh
eval $(/usr/local/bin/envdir ./runenv /usr/bin/env)
exec 2>&1
# Ensure that PRNG is adequately seeded.
[ -s ./ssl/seed ] ||
/usr/local/bin/envuidgid stunnel
/bin/dd if=/dev/urandom of=./ssl/seed bs=1k count=1
exec
softlimit -m "${ulimitdata:-20000000}"
tcpserver -d
-H
-R
-v
-X
-c "${concurrency:-20}"
-x imap.tcprules.cdb
0 imap
makesock
stunnel
-/ ssl
-s "$SSLUID"
-g "$SSLGID"
-N imap
-i
-R seed
-p imapd.pem
-n imap-
-f
-F 3
-makesock_connect_to
/usr/local/bin/envdir ./imapfront.env
/usr/bin/imapfront-auth
"${imapdpath:-/usr/libexec/dovecot/imap}"
-- Charlie
participants (3)
-
Charlie Brady
-
Jens Gutzeit
-
Timo Sirainen