summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-09-21 17:59:22 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-09-21 17:59:22 +0000
commit90ecb134ff0f73e5d84f3e5c10667a867b6c645e (patch)
tree7d66ff859b37249295be37ead96c1469da1dc183
parentc7493d3d36c3439ba0ec42989ff36980c2756a6d (diff)
fix apache suggestion to leave files with root perms, rather than
changing to www.www - leaving them more easily modified by a problem in a cgi or httpd. Also send SIGUSR1 for a graceful restart as apache expects. noticed by mpech@, ok millert@
-rw-r--r--etc/newsyslog.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index bd9abd29ea9..73f1a2c5165 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: newsyslog.conf,v 1.16 2001/09/19 14:05:24 millert Exp $
+# $OpenBSD: newsyslog.conf,v 1.17 2001/09/21 17:59:21 beck Exp $
#
# configuration file for newsyslog
#
@@ -18,10 +18,10 @@
#
# Uncomment to rotate apache logs
#
-#/var/www/logs/access_log www.www 644 7 250 * Z /var/www/logs/httpd.pid
-#/var/www/logs/error_log www.www 644 7 250 * Z /var/www/logs/httpd.pid
+#/var/www/logs/access_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1
+#/var/www/logs/error_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1
#
# Uncomment to rotate ssl logs
#
-#/var/www/logs/ssl_engine_log www.www 644 7 250 * Z /var/www/logs/httpd.pid
-#/var/www/logs/ssl_request_log www.www 644 7 250 * Z /var/www/logs/httpd.pid
+#/var/www/logs/ssl_engine_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1
+#/var/www/logs/ssl_request_log 644 7 250 * Z /var/www/logs/httpd.pid SIGUSR1