diff options
author | brooks <brooks@FreeBSD.org> | 2004-10-04 23:35:13 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-10-04 23:35:13 +0000 |
commit | a8b1fd9efbf31e6a704f5f931cf33e9a689d5aac (patch) | |
tree | eacf3e11ab25063362e07b937fe3812451204703 /usr.sbin/newsyslog/newsyslog.8 | |
parent | c5171b8fc89e8a2d43edcab9bb42370226906d1e (diff) | |
download | FreeBSD-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.8 | 10 |
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 |