When launching a program under svscan/supervise that has no port
connections, (I just want to keep it running,) what is the correct
line in the "run" script if I want to use syslog?
Would something like:
exec env - PATH="$PATH:/usr/local/bin" my_prog | \
splogger my_prog_id 3
or:
exec env - PATH="$PATH:/usr/local/bin" my_prog 2>&1 | \
splogger my_prog_id 3
work OK?
Both seem to work OK, but are they correct?
Thanks,
John
--
John Conover Tel. 408.370.2688 [EMAIL PROTECTED]
631 Lamont Ct. Cel. 408.772.7733
Campbell, CA 95008 Fax. 408.379.9602 http://www.johncon.com