pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/nginx Newsyslog should be instructed not to add it...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7201eaf7474
branches: trunk
changeset: 439337:c7201eaf7474
user: kim <kim%pkgsrc.org@localhost>
date: Fri Sep 18 09:15:56 2020 +0000
description:
Newsyslog should be instructed not to add its message to the new log file
diffstat:
www/nginx/MESSAGE | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r d8ee124a6865 -r c7201eaf7474 www/nginx/MESSAGE
--- a/www/nginx/MESSAGE Fri Sep 18 08:55:45 2020 +0000
+++ b/www/nginx/MESSAGE Fri Sep 18 09:15:56 2020 +0000
@@ -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
===========================================================================
Home |
Main Index |
Thread Index |
Old Index