diff options
| author | Sam Yaple <sam@yaple.net> | 2015-09-25 09:19:07 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-09-25 11:06:27 +0000 |
| commit | 89ecfc164ed92696de4c5cd2c0f90f23c1ad3784 (patch) | |
| tree | 5ef58eb7ee0a81276370ef212b18caeb89e09602 /docker/keepalived | |
| parent | 9c54b0afff2c522960d6a13eb4885cb2a0a53ce0 (diff) | |
| download | kolla-89ecfc164ed92696de4c5cd2c0f90f23c1ad3784.tar.gz kolla-89ecfc164ed92696de4c5cd2c0f90f23c1ad3784.zip | |
Replace config-external - haproxy keepalived
Change-Id: I668c31401305713e720f0f0ae8ec18e320ea1c76
Partially-Implements: blueprint replace-config-external
Diffstat (limited to 'docker/keepalived')
| -rwxr-xr-x | docker/keepalived/start.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docker/keepalived/start.sh b/docker/keepalived/start.sh index a122526e4..8c41a5f7d 100755 --- a/docker/keepalived/start.sh +++ b/docker/keepalived/start.sh @@ -1,14 +1,12 @@ #!/bin/bash set -o errexit -CMD="/usr/sbin/keepalived" -ARGS="-nld -p /run/keepalived.pid" - # Loading common functions. source /opt/kolla/kolla-common.sh -# Execute config strategy -set_configs +# Generate run command +python /opt/kolla/set_configs.py +CMD=$(cat /run_command) modprobe ip_vs @@ -17,4 +15,4 @@ if [ -f /run/keepalived.pid ]; then rm /run/keepalived.pid fi -exec $CMD $ARGS +exec $CMD |
