Re: Running Socklog using daemonlog

Maurice Lucas <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Organization TAOS-IT
Message-ID <[email protected]>
On Mon, 2006-10-30 at 12:01 -0500, Asif Iqbal wrote:
> On 10/29/06, Asif Iqbal <[email protected]> wrote:
> > I am looking for example(s) on running socklog using daemonlog.
> 
> Does anyone using daemontools to run socklog? Like to see an example
> (sorry for repeat question in case someone missed it firsttime)
> 

klog# cat run
#!/bin/sh
exec </proc/kmsg
exec 2>&1
exec chpst -usocklog-klog socklog ucspi


klog# cat log/run
#!/bin/sh
exec chpst -usocklog-log svlogd -t main/main


unix# cat run
#!/bin/sh
exec 2>&1
exec chpst -Usocklog-unix socklog unix /dev/log

unix# cat log/run
#!/bin/sh
exec chpst -usocklog-log svlogd -t \
  main/main main/auth main/cron main/daemon main/debug main/ftp \
  main/kern main/local main/mail main/news main/syslog main/user


-- 
With kind regards,

Maurice Lucas
TAOS-IT
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.