}
start_server() {
- PYTHONPATH=/usr/share/openvswitch/python \
- /usr/share/openvswitch/scripts/ovs-monitor-ipsec \
+ if [ ! -d /var/run/openvswitch ]; then
+ install -d -m 755 -o root -g root /var/run/openvswitch
+ fi
+
+ /usr/share/openvswitch/scripts/ovs-monitor-ipsec \
--pidfile-name=$PIDFILE --detach --monitor \
unix:/var/run/openvswitch/db.sock