From: Justin Pettit Date: Fri, 10 Sep 2010 21:32:41 +0000 (-0700) Subject: xenserver: Don't delete pidfile when stopping monitor-external-ids X-Git-Tag: v1.0.2~20 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=aa536b6e43828e23c48c54612d4047024f209eeb 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. --- diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index 7b86d4c66..050844570 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 }