summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2020-09-18 09:15:56 +0000
committerkim <kim@pkgsrc.org>2020-09-18 09:15:56 +0000
commite7969d3d3965973a25a9a7e139e5eb02d15ffa77 (patch)
tree7d1f27ea79cce91f4b7bd4779469b974abe7d672 /www/nginx
parent291f4da8e4bc0f775c1ceb31e8b9beb8e759c61c (diff)
downloadpkgsrc-e7969d3d3965973a25a9a7e139e5eb02d15ffa77.tar.gz
Newsyslog should be instructed not to add its message to the new log file
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/MESSAGE6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/nginx/MESSAGE b/www/nginx/MESSAGE
index ca53ad0eb2f..2ed0070b44e 100644
--- a/www/nginx/MESSAGE
+++ b/www/nginx/MESSAGE
@@ -1,9 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2013/02/18 20:32:09 imil Exp $
+$NetBSD: MESSAGE,v 1.3 2020/09/18 09:15:56 kim Exp $
Consider adding something like following lines to /etc/newsyslog.conf:
-${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1
-${NGINX_LOGDIR}/error.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/error.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
===========================================================================