summaryrefslogtreecommitdiff
path: root/network/lighttpd/conf/lighttpd.logrotate
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-07-31 11:16:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:35 -0500
commitbe1bc0c80f3239795474d5d929c23b0c449e8ca4 (patch)
tree72a57c92e05ee00b295141c2fa5fefe75edd9b96 /network/lighttpd/conf/lighttpd.logrotate
parentef779ebd8e36cad1c5dc43db77b667c5b30e878c (diff)
downloadslackbuilds-be1bc0c80f3239795474d5d929c23b0c449e8ca4.tar.gz
network/lighttpd: Updated for version 1.4.31.
This commit also moves config files into a subdirectory and added notes about SSL/BEAST and another php example to lighttpd.conf. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/lighttpd/conf/lighttpd.logrotate')
-rw-r--r--network/lighttpd/conf/lighttpd.logrotate15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/lighttpd/conf/lighttpd.logrotate b/network/lighttpd/conf/lighttpd.logrotate
new file mode 100644
index 0000000000..65c13f36c8
--- /dev/null
+++ b/network/lighttpd/conf/lighttpd.logrotate
@@ -0,0 +1,15 @@
+/var/log/lighttpd/*.log {
+ daily
+ missingok
+ copytruncate
+ rotate 7
+ create 0644 lighttpd lighttpd
+ compress
+ notifempty
+ sharedscripts
+ postrotate
+ if [ -x /etc/rc.d/rc.lighttpd -a -f /var/run/lighttpd.pid ]; then
+ /etc/rc.d/rc.lighttpd reload
+ fi
+ endscript
+}