mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +08:00
- Avoid changing file permissions - Make sure all log files are reopened - Remove non-sense prerotate script - Send SIGUSR1 to all nghttpx processes
12 lines
172 B
Plaintext
12 lines
172 B
Plaintext
/var/log/nghttpx/*.log {
|
|
weekly
|
|
rotate 52
|
|
missingok
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
postrotate
|
|
killall -USR1 nghttpx 2> /dev/null || true
|
|
endscript
|
|
}
|