summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-10-04 23:35:13 +0000
committerbrooks <brooks@FreeBSD.org>2004-10-04 23:35:13 +0000
commita8b1fd9efbf31e6a704f5f931cf33e9a689d5aac (patch)
treeeacf3e11ab25063362e07b937fe3812451204703 /usr.sbin/newsyslog/newsyslog.8
parentc5171b8fc89e8a2d43edcab9bb42370226906d1e (diff)
downloadFreeBSD-src-a8b1fd9efbf31e6a704f5f931cf33e9a689d5aac.zip
FreeBSD-src-a8b1fd9efbf31e6a704f5f931cf33e9a689d5aac.tar.gz
Add a new -d argument which is used to specify an alternate root for log
files similar to DESTDIR in the BSD make process. This only affects log file paths not config file (-f) or archive directory (-a) paths.
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.8')
-rw-r--r--usr.sbin/newsyslog/newsyslog.810
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8
index 5899d7e..3f31320 100644
--- a/usr.sbin/newsyslog/newsyslog.8
+++ b/usr.sbin/newsyslog/newsyslog.8
@@ -28,6 +28,7 @@
.Op Fl CFnrsv
.Op Fl R Ar tagname
.Op Fl a Ar directory
+.Op Fl d Ar directory
.Op Fl f Ar config_file
.Op Ar
.Sh DESCRIPTION
@@ -99,6 +100,15 @@ does not exist,
it will be created when
.Nm
is run.
+.It Fl d Ar directory
+Specify a
+.Ar directory
+which all log files will be relative to.
+To allow archiving of logs outside the root, the
+.Ar directory
+passed to the
+.Fl a
+option is unaffected.
.It Fl v
Place
.Nm
OpenPOWER on IntegriCloud