mirror of
https://github.com/openvswitch/ovs
synced 2025-10-19 14:37:21 +00:00
debian: Create ovs-monitor-ipsec rundir if it doesn't exist
Reported-by: Sajjad Lateef <slateef@nicira.com>
This commit is contained in:
4
debian/openvswitch-ipsec.init
vendored
4
debian/openvswitch-ipsec.init
vendored
@@ -69,6 +69,10 @@ running() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start_server() {
|
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 \
|
PYTHONPATH=/usr/share/openvswitch/python \
|
||||||
/usr/share/openvswitch/scripts/ovs-monitor-ipsec \
|
/usr/share/openvswitch/scripts/ovs-monitor-ipsec \
|
||||||
--pidfile-name=$PIDFILE --detach --monitor \
|
--pidfile-name=$PIDFILE --detach --monitor \
|
||||||
|
Reference in New Issue
Block a user