diff options
author | 2014-03-21 13:22:09 +0000 | |
---|---|---|
committer | 2014-03-21 13:22:09 +0000 | |
commit | 0d2e43828bba75843d08663de581f347ee741f2d (patch) | |
tree | 03e05ed944187eb4ff5d3e1a34968785872e07a0 | |
parent | zap trailing whitespace; (diff) | |
download | wireguard-openbsd-0d2e43828bba75843d08663de581f347ee741f2d.tar.xz wireguard-openbsd-0d2e43828bba75843d08663de581f347ee741f2d.zip |
Add nginx default log files to the rotation.
ok jung@ stephan@
tweaks and ok sthen@
-rw-r--r-- | etc/newsyslog.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index e602a3f85ce..78d5633adc8 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -1,4 +1,4 @@ -# $OpenBSD: newsyslog.conf,v 1.30 2014/03/17 18:04:07 sthen Exp $ +# $OpenBSD: newsyslog.conf,v 1.31 2014/03/21 13:22:09 ajacoutot Exp $ # # configuration file for newsyslog # @@ -14,3 +14,5 @@ /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 |