git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85d32f1
)
debian: Create ovs-monitor-ipsec rundir if it doesn't exist
author
Justin Pettit
<jpettit@nicira.com>
Tue, 28 Sep 2010 01:33:56 +0000
(18:33 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 28 Sep 2010 01:33:56 +0000
(18:33 -0700)
Reported-by: Sajjad Lateef <slateef@nicira.com>
debian/openvswitch-ipsec.init
patch
|
blob
|
history
diff --git
a/debian/openvswitch-ipsec.init
b/debian/openvswitch-ipsec.init
index
5f42406
..
ba82f51
100755
(executable)
--- 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 \