From 4613caed476faee9ebaa07d601fef49aeb2f68bc Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 16 Nov 2019 22:52:39 -0500 Subject: Add etc/newsyslog.conf --- etc/newsyslog.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 etc/newsyslog.conf (limited to 'etc/newsyslog.conf') 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 -- cgit v1.2.3