From: Justin Pettit Date: Tue, 28 Sep 2010 01:33:56 +0000 (-0700) Subject: debian: Create ovs-monitor-ipsec rundir if it doesn't exist X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e62f3daca16a97541d33798e65894fcfa9623c;p=openvswitch debian: Create ovs-monitor-ipsec rundir if it doesn't exist Reported-by: Sajjad Lateef --- 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 \