From b0e62f3daca16a97541d33798e65894fcfa9623c Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 27 Sep 2010 18:33:56 -0700 Subject: [PATCH] debian: Create ovs-monitor-ipsec rundir if it doesn't exist Reported-by: Sajjad Lateef --- debian/openvswitch-ipsec.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/openvswitch-ipsec.init b/debian/openvswitch-ipsec.init index 5f4240672..ba82f5139 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 \ -- 2.43.0