On Fri, Jul 06, 2001 at 08:42:57AM +0200, Arjen van Drie wrote:
>On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote:
>>On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote:
>>[snip]
>>> This is the 'run' script started by supervise:
>>>
>>> #!/bin/sh
>>> exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
>>> /var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \
>>> /var/qmail/bin/qmail-pop3d Maildir 2>&1
When i run this one like this:
#!/bin/sh
exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir 2>&1
it works!
Duh! All other qmail run scripts with multiple lines ended by '\' do
work. Nou breekt mijn klomp :\
(Dutch expression: now my wooden shoe breaks).
>>
>>Could you show us a hexdump of that file? This is interesting :)
>
>0000000 2123 622f 6e69 732f 0a68 7865 6365 2f20
>0000010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374
>0000020 7370 7265 6576 2072 782d 2f20 7465 2f63
>0000030 6374 7270 6c75 7365 642e 742f 7063 702e
>0000040 706f 2e33 6463 2062 762d 2d20 2052 482d
>0000050 2d20 206c 2030 2030 3131 2030 0a5c 2f09
>0000060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71
>0000070 6961 2d6c 6f70 7570 2070 6469 2e73 7274
>0000080 7669 6169 2e6c 7633 2e61 656e 2074 622f
>0000090 6e69 632f 6568 6b63 6170 7373 6f77 6472
>00000a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c
>00000b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064
>00000c0 614d 6c69 6964 2072 3e32 3126 0a0a
>00000ce
>
>Remember, it _only_ doesn't work when run by supervise.
>When run without supervise it works fine :\
>
>
>
>--
>
>Grtz,
>
>Arjen.
>
--
Grtz,
Arjen.