54919dc498
Allow heka container to pick up the openvswitch logs like other services Change-Id: I396ae9419540070c6ab01b8f62607ab46b1f08aa closes-Bug: #1573199
11 lines
268 B
Bash
11 lines
268 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -d "/var/log/kolla/openvswitch" ]]; then
|
|
mkdir -p /var/log/kolla/openvswitch
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/openvswitch
|
|
fi
|
|
|
|
source /usr/local/bin/kolla_openvswitch_extend_start
|