Ordering is important here.
This commit is contained in:
parent
e1d2bcb1b9
commit
3b3b775f3b
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -627,8 +627,8 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]];then
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
tmpd=""
|
tmpd=""
|
||||||
for d in /etc/swift /etc/swift/{object,container,account}-server \
|
for d in ${s}/{1..4} /etc/swift /etc/swift/{object,container,account}-server \
|
||||||
${SWIFT_LOCATION}/{1..4}/node/sdb1 /var/run/swift ${s}/{1..4};do
|
${SWIFT_LOCATION}/{1..4}/node/sdb1 /var/run/swift ;do
|
||||||
[[ -d $d ]] && continue
|
[[ -d $d ]] && continue
|
||||||
sudo install -g stack -o stack -d $d
|
sudo install -g stack -o stack -d $d
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue