summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/pathnames.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1999-01-22 19:38:39 +0000
committerwollman <wollman@FreeBSD.org>1999-01-22 19:38:39 +0000
commit27719c46cd1486850c0576f2129a7fd6b5c6255b (patch)
treeaa67fa72e16f396639059e1bf65637886ac74b3e /usr.sbin/newsyslog/pathnames.h
parent5a3e9b235099b0a4a7782a5b8498edee4ac9802f (diff)
downloadFreeBSD-src-27719c46cd1486850c0576f2129a7fd6b5c6255b.zip
FreeBSD-src-27719c46cd1486850c0576f2129a7fd6b5c6255b.tar.gz
A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation to take place on a specific day or time, and document same. This works by extending the syntax of the `when' field to allow a restricted ISO 8601 time specification, and performing the log rotation if newsyslog is run during the same hour as is specified.
Diffstat (limited to 'usr.sbin/newsyslog/pathnames.h')
-rw-r--r--usr.sbin/newsyslog/pathnames.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/usr.sbin/newsyslog/pathnames.h b/usr.sbin/newsyslog/pathnames.h
new file mode 100644
index 0000000..2eb271d
--- /dev/null
+++ b/usr.sbin/newsyslog/pathnames.h
@@ -0,0 +1,27 @@
+/*
+ * This file contains changes from the Open Software Foundation.
+ */
+
+/*
+
+Copyright 1988, 1989 by the Massachusetts Institute of Technology
+
+Permission to use, copy, modify, and distribute this software
+and its documentation for any purpose and without fee is
+hereby granted, provided that the above copyright notice
+appear in all copies and that both that copyright notice and
+this permission notice appear in supporting documentation,
+and that the names of M.I.T. and the M.I.T. S.I.P.B. not be
+used in advertising or publicity pertaining to distribution
+of the software without specific, written prior permission.
+M.I.T. and the M.I.T. S.I.P.B. make no representations about
+the suitability of this software for any purpose. It is
+provided "as is" without express or implied warranty.
+
+ $Id$
+
+*/
+
+#define _PATH_CONF "/etc/newsyslog.conf"
+#define _PATH_SYSLOGPID _PATH_VARRUN "syslog.pid"
+#define _PATH_GZIP "/usr/bin/gzip"
OpenPOWER on IntegriCloud