projects
/
openvswitch
/ 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 5f4240672ed840aa7cc439b0303a7a9d654db2ab..ba82f5139017157baa4703e49a223bbd848f75a0 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 \