Browse code

Merge "Run swift-container-sync under run_process"

Zuul authored on 2018/03/05 21:47:57
Showing 1 changed files
... ...
@@ -827,7 +827,8 @@ function start_swift {
827 827
         else
828 828
             # The container-sync daemon is strictly needed to pass the container
829 829
             # sync Tempest tests.
830
-            swift-init --run-dir=${SWIFT_DATA_DIR}/run container-sync start
830
+            enable_service s-container-sync
831
+            run_process s-container-sync "$SWIFT_BIN_DIR/swift-container-sync ${SWIFT_CONF_DIR}/container-server/1.conf"
831 832
         fi
832 833
     else
833 834
         swift-init --run-dir=${SWIFT_DATA_DIR}/run all restart || true