diff options
author | Daniel de Kok <danieldk@pobox.com> | 2010-05-11 15:01:30 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 15:01:30 +0200 |
commit | 6a2e7cb0c583c0ad634890fc732589f747ac400f (patch) | |
tree | a3f1f20b7f67c6fc4527ad9e460c494710c7082d /network/lighttpd/lighttpd.logrotate | |
parent | a46972cf527a97b75c670ace2ed30f7eca85af6e (diff) | |
download | slackbuilds-6a2e7cb0c583c0ad634890fc732589f747ac400f.tar.gz |
network/lighttpd: Initial import
Diffstat (limited to 'network/lighttpd/lighttpd.logrotate')
-rw-r--r-- | network/lighttpd/lighttpd.logrotate | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/lighttpd/lighttpd.logrotate b/network/lighttpd/lighttpd.logrotate new file mode 100644 index 0000000000..598650a1f2 --- /dev/null +++ b/network/lighttpd/lighttpd.logrotate @@ -0,0 +1,14 @@ +/var/log/lighttpd/*.log { + daily + missingok + copytruncate + rotate 7 + 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 +} |