projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f07ce3
)
xenserver: Don't reload ovs-brcompatd's log file if it's not running
author
Justin Pettit
<jpettit@nicira.com>
Sat, 27 Mar 2010 00:15:12 +0000
(17:15 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Mon, 29 Mar 2010 21:29:24 +0000
(14:29 -0700)
xenserver/etc_logrotate.d_openvswitch
patch
|
blob
|
history
diff --git
a/xenserver/etc_logrotate.d_openvswitch
b/xenserver/etc_logrotate.d_openvswitch
index 18eb192518c6c7b6a26ce91134e18c314fc699af..f87282c32b4967db0ec2fc92d0dc2e43a6a6235c 100644
(file)
--- a/
xenserver/etc_logrotate.d_openvswitch
+++ b/
xenserver/etc_logrotate.d_openvswitch
@@
-11,7
+11,9
@@
postrotate
# Tell Open vSwitch daemons to reopen their log files
/usr/bin/ovs-appctl -t ovs-vswitchd vlog/reopen
- /usr/bin/ovs-appctl -t ovs-brcompatd vlog/reopen
/usr/bin/ovs-appctl -t ovsdb-server vlog/reopen
+ if [ -e /var/run/openvswitch/ovs-brcompatd.pid ]; then
+ /usr/bin/ovs-appctl -t ovs-brcompatd vlog/reopen
+ fi
endscript
}