diff options
author | Timothy Redaelli <tredaelli@redhat.com> | 2017-04-13 11:48:19 +0200 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-11-27 11:13:59 -0800 |
commit | 9352d3d4f5766778371affe5874763421ada3114 (patch) | |
tree | fd745ee3608a47e8e7ba0dc13d0a2e8510f8d302 | |
parent | 6062e357e50a284a1ae941e582abb0a7f52c5464 (diff) | |
download | openvswitch-9352d3d4f5766778371affe5874763421ada3114.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>
-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 } |