summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslog.conf.5
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-09-14 06:55:15 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-09-14 06:55:15 +0000
commit81be6c75ba4ba744e5af8b4d043cf0322cf8cc0c (patch)
tree1f23fa570d42ff18433e92894d58e8cd0533c5e8 /usr.sbin/syslogd/syslog.conf.5
parent16115af1533d82fdc7b29066363e578003f81cce (diff)
downloadsrc-test2-81be6c75ba4ba744e5af8b4d043cf0322cf8cc0c.tar.gz
src-test2-81be6c75ba4ba744e5af8b4d043cf0322cf8cc0c.zip
Explain a little more about the piping feature.
PR: 4122
Notes
Notes: svn path=/head/; revision=29376
Diffstat (limited to 'usr.sbin/syslogd/syslog.conf.5')
-rw-r--r--usr.sbin/syslogd/syslog.conf.510
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index 50031c1cc46e..af4e711eb875 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