projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e21ea
)
xenserver: Don't delete pidfile when stopping monitor-external-ids
author
Justin Pettit
<jpettit@nicira.com>
Fri, 10 Sep 2010 21:32:41 +0000
(14:32 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Fri, 10 Sep 2010 21:32:41 +0000
(14:32 -0700)
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.
xenserver/etc_init.d_openvswitch
patch
|
blob
|
history
diff --git
a/xenserver/etc_init.d_openvswitch
b/xenserver/etc_init.d_openvswitch
index 7b86d4c666b80a5303b56f409c251175c3f362b4..050844570b878019b5b7c4040495b14563ec97ee 100755
(executable)
--- 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
}