aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-09-10 14:32:41 -0700
committerJustin Pettit <jpettit@nicira.com>2010-09-10 14:32:41 -0700
commitb14c5fe9bd85b440d1727934c84d5f7fded051f7 (patch)
treea8f44755850c7cf85c18834efe22d2e5808615a5
parent29e21ea26944731f9b9681fecedc81cd5c86f342 (diff)
xenserver: Don't delete pidfile when stopping monitor-external-ids
It's not necessary to explicitly delete the pidfile when stopping monitor-external-ids through the init script, since the daemon will take care of that.
-rwxr-xr-xxenserver/etc_init.d_openvswitch1
1 files changed, 0 insertions, 1 deletions
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index 7b86d4c6..05084457 100755
--- a/xenserver/etc_init.d_openvswitch
+++ b/xenserver/etc_init.d_openvswitch
@@ -358,7 +358,6 @@ function stop {
stop_daemon OVSDB_SERVER "$ovsdb_server"
if [ -e /var/run/openvswitch/monitor-external-ids.pid ]; then
kill `cat /var/run/openvswitch/monitor-external-ids.pid`
- rm /var/run/openvswitch/monitor-external-ids.pid
fi
rm -f /var/lock/subsys/openvswitch
}