Browse Source

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@
OPENBSD_3_0
beck 23 years ago
parent
commit
d68d308b29
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/etc/newsyslog.conf

+ 5
- 5
src/etc/newsyslog.conf View File

@ -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

Loading…
Cancel
Save