mirror of
https://github.com/openvswitch/ovs
synced 2025-09-03 15:55:19 +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() {
|
||||
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 \
|
||||
|
Reference in New Issue
Block a user