Re: daemons logging to a file

"Rob Mayoff" <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
+---------- On Oct 31, Paul Jarc said:
| #!/bin/sh
| exec \
| setuidgid whoever \
| multilog t ./main < ../fifo

Under this arrangement, if he restarts the log service, and $program
writes something to the pipe while multilog is down, $program will get
SIGPIPE.
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.