diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-09-25 17:04:33 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-09-25 17:04:33 +0000 |
| commit | 7d6e3eb3aaeb7e70d8ab38bb1199953a2b6cff43 (patch) | |
| tree | ddc209c19624a20aa7e6dc91cf2763439d5bfe78 /docker | |
| parent | 5b25443d8f249e3deeb65cf8057de66ae605a746 (diff) | |
| parent | 3d81353706d262b673193d9ba44163917cc21636 (diff) | |
| download | kolla-7d6e3eb3aaeb7e70d8ab38bb1199953a2b6cff43.tar.gz kolla-7d6e3eb3aaeb7e70d8ab38bb1199953a2b6cff43.zip | |
Merge "Replace config-external - swift"
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/swift/swift-account-auditor/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-account-reaper/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-account-replicator/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-account-server/start.sh | 13 | ||||
| -rwxr-xr-x | docker/swift/swift-container-auditor/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-container-replicator/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-container-server/start.sh | 13 | ||||
| -rwxr-xr-x | docker/swift/swift-container-updater/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-object-auditor/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-object-expirer/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-object-replicator/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-object-server/start.sh | 13 | ||||
| -rwxr-xr-x | docker/swift/swift-object-updater/start.sh | 11 | ||||
| -rwxr-xr-x | docker/swift/swift-proxy-server/start.sh | 12 | ||||
| -rwxr-xr-x | docker/swift/swift-rsyncd/start.sh | 11 |
15 files changed, 60 insertions, 112 deletions
diff --git a/docker/swift/swift-account-auditor/start.sh b/docker/swift/swift-account-auditor/start.sh index c83000da1..d43e03581 100755 --- a/docker/swift/swift-account-auditor/start.sh +++ b/docker/swift/swift-account-auditor/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-account-auditor" -ARGS="/etc/swift/account-auditor.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-account-reaper/start.sh b/docker/swift/swift-account-reaper/start.sh index fb6dcfe36..d43e03581 100755 --- a/docker/swift/swift-account-reaper/start.sh +++ b/docker/swift/swift-account-reaper/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-account-reaper" -ARGS="/etc/swift/account-reaper.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-account-replicator/start.sh b/docker/swift/swift-account-replicator/start.sh index c820209e2..d43e03581 100755 --- a/docker/swift/swift-account-replicator/start.sh +++ b/docker/swift/swift-account-replicator/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-account-replicator" -ARGS="/etc/swift/account-replicator.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-account-server/start.sh b/docker/swift/swift-account-server/start.sh index 402ee6f44..d43e03581 100755 --- a/docker/swift/swift-account-server/start.sh +++ b/docker/swift/swift-account-server/start.sh @@ -1,16 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-account-server" -ARGS="/etc/swift/account-server.conf --verbose" - # Loading common functions. source /opt/kolla/kolla-common.sh -source /opt/kolla/config-swift.sh - -# Execute config strategy -set_configs +# Generate run command +python /opt/kolla/set_configs.py +CMD=$(cat /run_command) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-container-auditor/start.sh b/docker/swift/swift-container-auditor/start.sh index 27dfd0e6b..d43e03581 100755 --- a/docker/swift/swift-container-auditor/start.sh +++ b/docker/swift/swift-container-auditor/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-container-auditor" -ARGS="/etc/swift/container-auditor.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-container-replicator/start.sh b/docker/swift/swift-container-replicator/start.sh index b110ab8af..d43e03581 100755 --- a/docker/swift/swift-container-replicator/start.sh +++ b/docker/swift/swift-container-replicator/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-container-replicator" -ARGS="/etc/swift/container-replicator.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-container-server/start.sh b/docker/swift/swift-container-server/start.sh index 78070ab29..d43e03581 100755 --- a/docker/swift/swift-container-server/start.sh +++ b/docker/swift/swift-container-server/start.sh @@ -1,16 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-container-server" -ARGS="/etc/swift/container-server.conf --verbose" - # Loading common functions. source /opt/kolla/kolla-common.sh -source /opt/kolla/config-swift.sh - -# Execute config strategy -set_configs +# Generate run command +python /opt/kolla/set_configs.py +CMD=$(cat /run_command) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-container-updater/start.sh b/docker/swift/swift-container-updater/start.sh index d2fe2eb8c..d43e03581 100755 --- a/docker/swift/swift-container-updater/start.sh +++ b/docker/swift/swift-container-updater/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-container-updater" -ARGS="/etc/swift/container-updater.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-object-auditor/start.sh b/docker/swift/swift-object-auditor/start.sh index 0f0111a8e..d43e03581 100755 --- a/docker/swift/swift-object-auditor/start.sh +++ b/docker/swift/swift-object-auditor/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-object-auditor" -ARGS="/etc/swift/object-auditor.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-object-expirer/start.sh b/docker/swift/swift-object-expirer/start.sh index 366525d11..d43e03581 100755 --- a/docker/swift/swift-object-expirer/start.sh +++ b/docker/swift/swift-object-expirer/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-object-expirer" -ARGS="/etc/swift/object-expirer.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-object-replicator/start.sh b/docker/swift/swift-object-replicator/start.sh index dbb142499..d43e03581 100755 --- a/docker/swift/swift-object-replicator/start.sh +++ b/docker/swift/swift-object-replicator/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-object-replicator" -ARGS="/etc/swift/object-replicator.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-object-server/start.sh b/docker/swift/swift-object-server/start.sh index f2a32b4d3..d43e03581 100755 --- a/docker/swift/swift-object-server/start.sh +++ b/docker/swift/swift-object-server/start.sh @@ -1,16 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-object-server" -ARGS="/etc/swift/object-server.conf --verbose" - # Loading common functions. source /opt/kolla/kolla-common.sh -source /opt/kolla/config-swift.sh - -# Execute config strategy -set_configs +# Generate run command +python /opt/kolla/set_configs.py +CMD=$(cat /run_command) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-object-updater/start.sh b/docker/swift/swift-object-updater/start.sh index 5e970b416..d43e03581 100755 --- a/docker/swift/swift-object-updater/start.sh +++ b/docker/swift/swift-object-updater/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-object-updater" -ARGS="/etc/swift/object-updater.conf --verbose" - # 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) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-proxy-server/start.sh b/docker/swift/swift-proxy-server/start.sh index 99a142e52..7adad007a 100755 --- a/docker/swift/swift-proxy-server/start.sh +++ b/docker/swift/swift-proxy-server/start.sh @@ -1,16 +1,12 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/swift-proxy-server" -ARGS="/etc/swift/proxy-server.conf --verbose" - # Loading common functions. source /opt/kolla/kolla-common.sh - source /opt/kolla/config-swift.sh -# Execute config strategy -set_configs +# Generate run command +python /opt/kolla/set_configs.py +CMD=$(cat /run_command) -exec $CMD $ARGS +exec $CMD diff --git a/docker/swift/swift-rsyncd/start.sh b/docker/swift/swift-rsyncd/start.sh index 2267bb59f..d43e03581 100755 --- a/docker/swift/swift-rsyncd/start.sh +++ b/docker/swift/swift-rsyncd/start.sh @@ -1,14 +1,11 @@ #!/bin/bash - set -o errexit -CMD="/usr/bin/rsync" -ARGS="--daemon --no-detach --config=/etc/rsyncd.conf" - # 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) -exec $CMD $ARGS +exec $CMD |
