lighttpd: add config for logrotate

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
This commit is contained in:
Jan Pavlinec
2020-10-16 18:48:25 +02:00
committed by Josef Schlehofer
parent 732513d35c
commit aa80a02340
2 changed files with 22 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
/var/log/lighttpd/error.log {
maxsize 1M
compress
delaycompress
postrotate
/etc/init.d/lighttpd reload
endscript
}