This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new 2222222c03e VR: Fix haproxy log rotation in VR system VM (#7587)
2222222c03e is described below

commit 2222222c03ea20c1db946e910e7ab873e429be54
Author: Vladimir Dombrovski <[email protected]>
AuthorDate: Tue Jun 20 09:38:39 2023 +0200

    VR: Fix haproxy log rotation in VR system VM (#7587)
---
 systemvm/debian/etc/logrotate.d/haproxy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemvm/debian/etc/logrotate.d/haproxy 
b/systemvm/debian/etc/logrotate.d/haproxy
index 464209791a3..a6b72b6f77a 100644
--- a/systemvm/debian/etc/logrotate.d/haproxy
+++ b/systemvm/debian/etc/logrotate.d/haproxy
@@ -4,6 +4,6 @@
     notifempty
     maxsize 10M
     postrotate
-      /bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || 
true
+      /usr/lib/rsyslog/rsyslog-rotate
     endscript
 }

Reply via email to