You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -691,7 +693,7 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
691
693
# swift-init has a bug using /etc/swift until bug #885595 is fixed
692
694
# we have to create a link
693
695
sudo ln -s ${SWIFT_CONFIG_LOCATION} /etc/swift
694
-
696
+
695
697
# Swift use rsync to syncronize between all the different
696
698
# partitions (which make more sense when you have a multi-node
697
699
# setup) we configure it with our version of rsync.
@@ -727,7 +729,7 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
727
729
local bind_port=$2
728
730
local log_facility=$3
729
731
local node_number
730
-
732
+
731
733
fornode_numberin {1..4};do
732
734
node_path=${SWIFT_DATA_LOCATION}/${node_number}
733
735
sed -e "s,%SWIFT_CONFIG_LOCATION%,${SWIFT_CONFIG_LOCATION},;s,%USER%,$USER,;s,%NODE_PATH%,${node_path},;s,%BIND_PORT%,${bind_port},;s,%LOG_FACILITY%,${log_facility}," \
@@ -754,14 +756,14 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
754
756
755
757
# We then can start rsync.
756
758
sudo /etc/init.d/rsync restart ||:
757
-
759
+
758
760
# Create our ring for the object/container/account.
759
761
/usr/local/bin/swift-remakerings
760
762
761
763
# And now we launch swift-startmain to get our cluster running
0 commit comments