freebsd-skq/usr.sbin/newsyslog
Eric van Gyzen c152ba971f newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified
After going through the signal work list, during which do_sigwork()
is called and essentially does nothing because -s and -R were
specified on the command line, newsyslog will sleep for 10 seconds
as the (verbose) code says: "Pause 10 seconds to allow daemon(s)
to close log file(s)".

However, the man page verbiage for -R (and -s) seems quite clear
that this sleep() is unnecessary because the daemon was expected
to have already closed the log file before calling newsyslog.

PR:		210020
Submitted by:	David A. Bright <david_a_bright@dell.com>
MFC after:	1 week
Sponsored by:	Dell Inc.
Differential Revision:	https://reviews.freebsd.org/D6727
2016-06-06 22:54:08 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
extern.h
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
newsyslog.8 Make it more explicitly clear that -t will not change filename. 2014-09-23 13:58:39 +00:00
newsyslog.c newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specified 2016-06-06 22:54:08 +00:00
newsyslog.conf.5 newsyslog.conf: allow to configure the signal using the signal name. 2015-10-24 13:55:12 +00:00
pathnames.h
ptimes.c