summaryrefslogtreecommitdiff
path: root/rhel/etc_logrotate.d_openvswitch
diff options
context:
space:
mode:
authorTimothy Redaelli <tredaelli@redhat.com>2017-04-13 11:48:19 +0200
committerBen Pfaff <blp@ovn.org>2017-04-13 10:07:37 -0700
commitf848080e556f17cd8970cf1216651696d91b335e (patch)
treeba651cc82bc39aa9d40dd8d875259e5dc8d4758f /rhel/etc_logrotate.d_openvswitch
parent4b25cedfc413a8a76cec4506fbbb06c0705090c8 (diff)
downloadopenvswitch-f848080e556f17cd8970cf1216651696d91b335e.tar.gz
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 <tredaelli@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'rhel/etc_logrotate.d_openvswitch')
-rw-r--r--rhel/etc_logrotate.d_openvswitch14
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
}