Re: log to multilog instead of file

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
richard lucassen <[email protected]> wrote:
> chmod 3755 /usr/local/sbin/X

Why do you make it setgid and sticky?

> #!/bin/sh
> while true; do
>   /usr/local/bin/setuidgid Xlog \
>   /usr/local/bin/multilog t /var/log/X
> done < /var/log/X/log.fifo

#!/bin/sh
exec \
/usr/local/bin/setuidgid Xlog \
/usr/local/bin/multilog t /var/log/X < /var/log/X/log.fifo

But now leave out the redirection, since you managed to get X writing
to the pipe set up by svscan.


paul
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.