diff options
author | joerg <joerg@FreeBSD.org> | 1997-09-14 06:55:15 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-09-14 06:55:15 +0000 |
commit | 4d852187388d6fcd711552d770a7b315e8cb3d1a (patch) | |
tree | c184ef03c50e0f0cc26f0dd9415560a3e910adbb /usr.sbin/syslogd | |
parent | 5b4e745b7a4d0efc7e95827763dbdfe34a9b0dd4 (diff) | |
download | FreeBSD-src-4d852187388d6fcd711552d770a7b315e8cb3d1a.zip FreeBSD-src-4d852187388d6fcd711552d770a7b315e8cb3d1a.tar.gz |
Explain a little more about the piping feature.
PR: 4122
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r-- | usr.sbin/syslogd/syslog.conf.5 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5 index 50031c1..af4e711 100644 --- a/usr.sbin/syslogd/syslog.conf.5 +++ b/usr.sbin/syslogd/syslog.conf.5 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93 -.\" $Id$ +.\" $Id: syslog.conf.5,v 1.6 1997/04/29 09:09:40 jmg Exp $ .\" .Dd June 9, 1993 .Dt SYSLOG.CONF 5 @@ -235,10 +235,14 @@ Upon receipt of a will close the pipe to the process. If the process didn't exit voluntarily, it will be sent a .Dv SIGTERM -signal after a grace period of up to 40 seconds. +signal after a grace period of up to 60 seconds. .Pp The command will only be started once data arrives that should be piped -to it. If it exited later, it will be restarted as necessary. +to it. If it exited later, it will be restarted as necessary. So if it +is desired that the subprocess should get exactly one line of input only +(which can be very resource-consuming if there are a lot of messages +flowing quickly), this can be achieved by exiting after just one line of +input. If necessary, a script wrapper can be written to this effect. .Pp Unless the command is a full pipeline, it's probably useful to start the command with |