diff options
author | delphij <delphij@FreeBSD.org> | 2010-01-20 01:07:38 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-01-20 01:07:38 +0000 |
commit | bf268284cce6c4d1d3fbd8d52be2340ef8d83629 (patch) | |
tree | 42f173683fe839ebb472b360d41a674fbe56fe26 /usr.sbin/newsyslog/newsyslog.8 | |
parent | 863d5d126e582a5f41a69792ba1240089f22d17e (diff) | |
download | FreeBSD-src-bf268284cce6c4d1d3fbd8d52be2340ef8d83629.zip FreeBSD-src-bf268284cce6c4d1d3fbd8d52be2340ef8d83629.tar.gz |
Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation.
Requested by: stas
MFC after: 2 weeks
X-MFC with: r200806
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.8')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.8 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8 index 3db563f..06714aa 100644 --- a/usr.sbin/newsyslog/newsyslog.8 +++ b/usr.sbin/newsyslog/newsyslog.8 @@ -17,7 +17,7 @@ .\" the suitability of this software for any purpose. It is .\" provided "as is" without express or implied warranty. .\" -.Dd February 24, 2005 +.Dd January 19, 2010 .Dt NEWSYSLOG 8 .Os .Sh NAME @@ -25,7 +25,7 @@ .Nd maintain system log files to manageable sizes .Sh SYNOPSIS .Nm -.Op Fl CFNnrsv +.Op Fl CFNPnrsv .Op Fl R Ar tagname .Op Fl a Ar directory .Op Fl d Ar directory @@ -169,6 +169,10 @@ This option is intended to be used with the or .Fl CC options when creating log files is the only objective. +.It Fl P +Prevent further action if we should send signal but the +.Dq pidfile +is empty or does not exist. .It Fl R Ar tagname Specify that .Nm |