From f848080e556f17cd8970cf1216651696d91b335e Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Thu, 13 Apr 2017 11:48:19 +0200 Subject: rhel/etc_logrotate.d_openvswitch: Fix coding style Replace tabs by 4 spaces and indent the postrotate script like the examples in 'man logrotate.conf' Signed-off-by: Timothy Redaelli Signed-off-by: Ben Pfaff --- rhel/etc_logrotate.d_openvswitch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'rhel/etc_logrotate.d_openvswitch') 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 } -- cgit v1.2.1