X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-ipsec.init;h=ba82f5139017157baa4703e49a223bbd848f75a0;hb=007948177581f3b3dad188221593d0e4bdca6ba0;hp=5f4240672ed840aa7cc439b0303a7a9d654db2ab;hpb=9704460403a02554595b5a7ed17914a0b0357cac;p=openvswitch diff --git a/debian/openvswitch-ipsec.init b/debian/openvswitch-ipsec.init index 5f424067..ba82f513 100755 --- a/debian/openvswitch-ipsec.init +++ b/debian/openvswitch-ipsec.init @@ -69,6 +69,10 @@ running() { } start_server() { + if [ ! -d /var/run/openvswitch ]; then + install -d -m 755 -o root -g root /var/run/openvswitch + fi + PYTHONPATH=/usr/share/openvswitch/python \ /usr/share/openvswitch/scripts/ovs-monitor-ipsec \ --pidfile-name=$PIDFILE --detach --monitor \