pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nginx Suggest setting up log rotation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/adcc7b2429f5
branches:  trunk
changeset: 570033:adcc7b2429f5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jan 23 16:33:23 2010 +0000

description:
Suggest setting up log rotation.

diffstat:

 www/nginx/MESSAGE |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 8c29265ee23d -r adcc7b2429f5 www/nginx/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nginx/MESSAGE Sat Jan 23 16:33:23 2010 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2010/01/23 16:33:23 joerg Exp $
+
+Consider adding something like following lines to /etc/newsyslog.conf:
+
+${NGINX_LOGDIR}/access.log 640 7 * * BZ  ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+${NGINX_LOGDIR}/error.log  640 7 * * BZ  ${NGINX_PIDDIR}/nginx.pid SIGUSR1
+
+===========================================================================



Home | Main Index | Thread Index | Old Index