On Mon, May 24, 2004 at 10:33:39AM -0400, Jason 'XenoPhage' Frisvold wrote:
> On Sun, 2004-05-23 at 21:52, Peter Stuge wrote:
> > In the run script, right before bincimapd.
>
> Forgive my apparent blockheadedness regarding this, but would this be
> correct? :
Hm, not quite. Try this:
--8<-- /service/bincimap/run
#!/bin/sh
# $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $
# daemontools supervise run-file for Binc IMAP Service.
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
0 143 \
/opt/bincimap/bin/bincimap-up \
--logtype=multilog \
--conf=/etc/opt/bincimap/bincimap.conf -- \
/home/vpopmail/bin/vchkpw \
/opt/bincimap/bin/linkwrapper \
/opt/bincimap/bin/bincimapd
-->8--
--8<-- /opt/bincimap/bin/linkwrapper
#!/bin/sh
test -e Maildir/INBOX || ln -s . Maildir/INBOX
exec $@
-->8--
//Peter