mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +08:00
nghttpx-logrotate: Don't use killall since we have multiple processes
This commit is contained in:
@@ -6,6 +6,6 @@
|
|||||||
delaycompress
|
delaycompress
|
||||||
notifempty
|
notifempty
|
||||||
postrotate
|
postrotate
|
||||||
killall -USR1 nghttpx 2> /dev/null || true
|
[ -s /var/run/nghttpx.pid ] && kill -USR1 `cat /var/run/nghttpx.pid` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user