bugtool: move plugins data from /etc/openvswitch to /usr/share/openvswitch
[sliver-openvswitch.git] / xenserver / etc_init.d_openvswitch
index 534b81d..c7d0736 100755 (executable)
@@ -27,7 +27,7 @@
 # Short-Description: Open vSwitch switch
 ### END INIT INFO
 
-. /usr/share/openvswitch/scripts/ovs-lib.sh || exit 1
+. /usr/share/openvswitch/scripts/ovs-lib || exit 1
 . /etc/xensource-inventory
 test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
 
@@ -73,7 +73,7 @@ start () {
     else
        PYTHONPATH=/usr/share/openvswitch/python \
             /usr/share/openvswitch/scripts/ovs-xapi-sync \
-            --pidfile --detach --monitor unix:/var/run/openvswitch/db.sock
+            --log-file --pidfile --detach --monitor unix:/var/run/openvswitch/db.sock
     fi
 
     $ovs_ctl --protocol=gre enable-protocol