>>>>> "Henry" == Henry Baragar <[EMAIL PROTECTED]> writes:
Henry> #!/bin/sh # $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05
Henry> andreaha Exp $ # daemontools supervise run-file for Binc
Henry> IMAP Service.
Henry> exec 2>&1 export LOGLEVEL=255 exec tcpserver -c 100 -u 0
Henry> -g 0 \ -l $(hostname) -HDRP \ 0 143 \
Henry> /usr/local/bin/bincimap-up \ --logtype=multilog \
Henry> --conf=/usr/local/etc/bincimap.conf -- \
Henry> /var/qmail/bin/auth_pop \ # /var/qmail/bin/authwrapper.sh \
Henry> /usr/local/bin/bincimapd Maildir
Yes
Henry> Unfortunately, this does not have the intended effect. To
Henry> see what I mean, try running the following script:
Henry> echo \ hello, \ # earth \ world
I made a testshellscript.sh:
#!/bin/bash
echo \
hello, \
# earth \
world
and this is the output:
[EMAIL PROTECTED]:~$ ./testshellscript.sh
hello,
./testshellscript.sh: line 5: world: command not found
Seems to my that it will try to run world
Henry> As you wil see, the "world" is not longer part of the
Henry> "echo" line, which would explain why bincimapd is nowhere
Henry> to be found in the trace file.
Ahh, ok I understand what you mean. I break the command chain with # sign?
Henry> Would it be possible for you to rerun the test with the
Henry> authwrapper.sh line removed from the run file? Once again,
Henry> could you send me the log and trace files if it fails.
I will try it once again...sorry for wasting your time.
/Hasse