Do not create /dev/log symlink if it already exists
This changes the keepalived extend_start.sh script not to recreate the /dev/log symlink if it already exists. This change is related to a comment from SamYaple in https://review.openstack.org/#/c/288432/. TrivialFix Change-Id: I9ca2b4d0b36c961ab3e1e18e2011dd10b47c33e3
This commit is contained in:
parent
13a6062260
commit
500dc73c87
@ -3,7 +3,9 @@
|
|||||||
# NOTE(elemoine): keepalived cannot be configured to change the log address to
|
# NOTE(elemoine): keepalived cannot be configured to change the log address to
|
||||||
# anything other than /dev/log. Heka's log socket is at /var/lib/kolla/heka/log
|
# anything other than /dev/log. Heka's log socket is at /var/lib/kolla/heka/log
|
||||||
# so we symlink /dev/log to that location.
|
# so we symlink /dev/log to that location.
|
||||||
ln -sf /var/lib/kolla/heka/log /dev/log
|
if [[ ! -h /dev/log ]]; then
|
||||||
|
ln -sf /var/lib/kolla/heka/log /dev/log
|
||||||
|
fi
|
||||||
|
|
||||||
modprobe ip_vs
|
modprobe ip_vs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user