summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-04-25 19:44:34 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-04-25 19:44:34 +0200
commit0171568697c70a7925ed2f1896826609e9dc5c40 (patch)
tree351e5cd59328a9231acc97d348cd31e8361d3363 /config
parent1124e80b62bca5e49a4c81072c4b0d2811ddfebb (diff)
downloadOpenBSD-firewall-0171568697c70a7925ed2f1896826609e9dc5c40.tar.gz
OpenBSD-firewall-0171568697c70a7925ed2f1896826609e9dc5c40.tar.bz2
made newsyslog.conf a config file and not a template (needs adaption for small /var/log filesystems)
Diffstat (limited to 'config')
-rw-r--r--config/obr/newsyslog.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/obr/newsyslog.conf b/config/obr/newsyslog.conf
new file mode 100644
index 0000000..4647bec
--- /dev/null
+++ b/config/obr/newsyslog.conf
@@ -0,0 +1,14 @@
+# $OpenBSD: newsyslog.conf,v 1.38 2022/01/05 18:34:23 deraadt 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 10 168 Z
+/var/log/daemon 640 5 30 * Z
+/var/log/lpd-errs 640 7 10 * Z
+/var/log/maillog 640 7 * 24 Z
+/var/log/messages 644 5 30 * Z
+/var/log/secure 600 7 30 168 Z
+/var/log/wtmp 644 7 * $M1D4 B ""
+/var/log/pflog 600 3 25 * ZB "pkill -HUP -u root -U root -t - -x pflogd"