summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-11-16 22:52:39 -0500
committerrsiddharth <s@ricketyspace.net>2019-11-16 22:52:39 -0500
commit4613caed476faee9ebaa07d601fef49aeb2f68bc (patch)
tree04db641327542788d787c9aa6d6c9ad0c8ed4f54
parent9c5012dd541c0837e5310118dac51e20accaec26 (diff)
Add etc/newsyslog.conf
-rw-r--r--etc/newsyslog.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
new file mode 100644
index 0000000..bdb0104
--- /dev/null
+++ b/etc/newsyslog.conf
@@ -0,0 +1,17 @@
+# $OpenBSD: newsyslog.conf,v 1.36 2016/12/27 09:17:52 jca Exp $
+#
+# configuration file for newsyslog
+#
+# logfile_name owner:group mode count size when flags
+/var/cron/log root:wheel 600 3 10 * Z
+/var/log/authlog root:wheel 640 7 * 168 Z
+/var/log/daemon 640 5 300 * Z
+/var/log/lpd-errs 640 7 10 * Z
+/var/log/maillog 640 7 * 24 Z
+/var/log/messages 644 5 300 * Z
+/var/log/secure 600 7 * 168 Z
+/var/log/wtmp 644 7 * $W6D4 B
+/var/log/xferlog 640 7 250 * Z
+/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd"
+/var/www/logs/access.log 644 4 * $W0 Z /var/run/nginx.pid SIGUSR1
+/var/www/logs/error.log 644 7 250 * Z /var/run/nginx.pid SIGUSR1