aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/newsyslog/pathnames.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 20:37:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 20:37:34 +0000
commit1af6dc18b9f21d9d5498066c4c095489d50d8880 (patch)
treeddfa13b6e178cb4ea5810a75f037267952951bc1 /usr.sbin/newsyslog/pathnames.h
parentf739280524c29ec7279d84bb8292e3c4abbe78a2 (diff)
downloadsrc-1af6dc18b9f21d9d5498066c4c095489d50d8880.tar.gz
src-1af6dc18b9f21d9d5498066c4c095489d50d8880.zip
Add a new Y flag to newsyslog.conf
This makes newsyslog use zstandard to compress log files. Given Z is already taken for gzip and zstandard compression level stands in between gzip and xz (which has the X flag) chosing Y sounds ok :)
Notes
Notes: svn path=/head/; revision=316981
Diffstat (limited to 'usr.sbin/newsyslog/pathnames.h')
-rw-r--r--usr.sbin/newsyslog/pathnames.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/newsyslog/pathnames.h b/usr.sbin/newsyslog/pathnames.h
index 9c4f8850605b..04c3086a48ef 100644
--- a/usr.sbin/newsyslog/pathnames.h
+++ b/usr.sbin/newsyslog/pathnames.h
@@ -27,3 +27,4 @@ provided "as is" without express or implied warranty.
#define _PATH_BZIP2 "/usr/bin/bzip2"
#define _PATH_GZIP "/usr/bin/gzip"
#define _PATH_XZ "/usr/bin/xz"
+#define _PATH_ZSTD "/usr/bin/zstd"