diff options
Diffstat (limited to 'rhel/etc_logrotate.d_openvswitch')
-rw-r--r-- | rhel/etc_logrotate.d_openvswitch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rhel/etc_logrotate.d_openvswitch b/rhel/etc_logrotate.d_openvswitch index 73751d457..914e67c04 100644 --- a/rhel/etc_logrotate.d_openvswitch +++ b/rhel/etc_logrotate.d_openvswitch @@ -6,14 +6,14 @@ # without warranty of any kind. /var/log/openvswitch/*.log { - daily - compress - sharedscripts - missingok - postrotate - # Tell Open vSwitch daemons to reopen their log files + daily + compress + sharedscripts + missingok + postrotate + # Tell Open vSwitch daemons to reopen their log files for pidfile in `cd /var/run/openvswitch && echo *.pid`; do ovs-appctl -t "${pidfile%%.pid}" vlog/reopen done - endscript + endscript } |