Fri Sep 18 09:15:56 2020 UTC ()
Newsyslog should be instructed not to add its message to the new log file


(kim)
diff -r1.2 -r1.3 pkgsrc/www/nginx/MESSAGE

cvs diff -r1.2 -r1.3 pkgsrc/www/nginx/MESSAGE (expand / switch to unified diff)

--- pkgsrc/www/nginx/MESSAGE 2013/02/18 20:32:09 1.2
+++ pkgsrc/www/nginx/MESSAGE 2020/09/18 09:15:56 1.3
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.2 2013/02/18 20:32:09 imil Exp $ 2$NetBSD: MESSAGE,v 1.3 2020/09/18 09:15:56 kim Exp $
3 3
4Consider adding something like following lines to /etc/newsyslog.conf: 4Consider adding something like following lines to /etc/newsyslog.conf:
5 5
6${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1 6${NGINX_LOGDIR}/access.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
7${NGINX_LOGDIR}/error.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 Z ${NGINX_PIDDIR}/nginx.pid SIGUSR1 7${NGINX_LOGDIR}/error.log ${NGINX_USER}:${NGINX_GROUP} 640 7 * 24 ZB ${NGINX_PIDDIR}/nginx.pid SIGUSR1
8 8
9=========================================================================== 9===========================================================================