Replace tabs by 4 spaces and indent the postrotate script like the
examples in 'man logrotate.conf'
Signed-off-by: Timothy Redaelli
---
rhel/etc_logrotate.d_openvswitch | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/rhel/etc_logrotate.d_openvswitch b/rhel/etc_logrotate.d_openvswitch
index 73751d4..914e67c 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
}
--
2.9.3
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev