aboutsummaryrefslogtreecommitdiff
path: root/xenserver
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-10 13:08:26 -0700
committerBen Pfaff <blp@nicira.com>2011-06-16 12:28:06 -0700
commit1e9092831d38457bb5c43a9ce176e418fab3d069 (patch)
tree41217a76b9165b1572d3c96e40fd9dd74b1ac1d4 /xenserver
parentd3824212ada08ae285ac2e4f05dc30d97a7c25ad (diff)
xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently.
This variable was used in some places but not in others. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'xenserver')
-rwxr-xr-xxenserver/etc_init.d_openvswitch4
1 files changed, 2 insertions, 2 deletions
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index dfd8c39a..bd64cc70 100755
--- a/xenserver/etc_init.d_openvswitch
+++ b/xenserver/etc_init.d_openvswitch
@@ -127,8 +127,8 @@ else
fi
function hup_monitor_external_ids {
- if [ -e /var/run/openvswitch/ovs-xapi-sync.pid ]; then
- action "Configuring Open vSwitch external IDs" kill -HUP `cat /var/run/openvswitch/ovs-xapi-sync.pid`
+ if [ -e "$OVS_XAPI_SYNC_PIDFILE" ]; then
+ action "Configuring Open vSwitch external IDs" kill -HUP `cat "$OVS_XAPI_SYNC_PIDFILE"`
fi
}