-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have partly solved my problem (a typo) of logging tcpserver
messages through cyclog.
What I do now:
For init scripts, I do
supervise dir /var/qmail/rc-smtp &
and in my rc-smtp I have (on one long line)
#!/bin/sh
exec env - PATH=... tcpserver -v ... rblsmtpd qmail-smtpd 2>&1
|setuser qmaill accustamp|setuser qmaill cyclog ...
All the logging works as expected. What now does not work is that
svc -dx ...
doesn't bring this tcpserver down.
In ps auxww I can see
sh /var/qmail/rc-smtp
running as a separate process and svstat says that the supervised
pid is the pid of this shell process. Bringing it down (svc -dx) brings
down this shell and not tcpserver.
I though the initial "exec" in the shell script should get rid of the
shell process. I must be missing something obvious but if I only
knew what... Please suggest.
Thanks
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBN00ZJlMwP8g7qbw/EQITLACbBf8Lw5asDG3K8lJwYKXpe7911tcAnRsN
GoY+47PAGbhAecMroAXypd79
=eMil
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]