Re: log to multilog instead of file

richard lucassen <[email protected]>
Newsgroups gmane.comp.djb.syslog
Organization CAM S&C
Message-ID <[email protected]>
On Thu, 27 May 2004 11:43:48 -0400
[email protected] (Paul Jarc) wrote:

> richard lucassen <[email protected]> wrote:
> > (and sticky because it is version 0.70)
> 
> The /service/X/. directory is what needs to be sticky, not a program
> executed by the run script.

/usr/local/sbin/X/ is the directory that holds the "run" file ;-)

(and /service/X is a symlink)

> > I think the use of /dev/stderr is a more elegant solution then
> > the (mis)use of a fifo.
> 
> More reliable, too.  With a fifo, if the reader and writer both happen
> to die, and there is data left in the pipe, that data will be lost.
> svscan keeps the *same* pipe for the restarted processes to use, so no
> data is lost, as long as the reader gets back on its feet eventually.

Ok, thanks, it works all perfectly well now :-)

R.

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAtktUyG85G+teVsIRAuUpAKDUtspik1D0u+aozI3/V1f8vPA+YQCfb04K
84TYr0sv4Th71ev/xCprBjI=
=Hgaz
-----END PGP SIGNATURE-----
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.