From 124c401b20dd83bfd54459ceeee7304f206acd2e Mon Sep 17 00:00:00 2001 From: sougata-progress Date: Sat, 9 Nov 2024 00:38:37 +0000 Subject: [PATCH] WIP Signed-off-by: sougata-progress --- scripts/provision.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/provision.sh b/scripts/provision.sh index 5a30505..8f33020 100755 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -212,8 +212,11 @@ start_minio() { if [ -d "/hab/svc/builder-minio/data/" ]; then backup_minio_data fi - - sudo hab svc load "${BLDR_ORIGIN}/builder-minio" --channel $BLDR_CHANNEL --force + sudo hab svc unload "${BLDR_ORIGIN}/builder-datastore" + sleep 10 + sudo hab svc load "${BLDR_ORIGIN}/builder-datastore" --channel "stable" --force + sleep 10 + sudo hab svc load "${BLDR_ORIGIN}/builder-minio" --channel "stable" --force sleep 10 bash ./minio-update.sh preflight_checks if [ $? != 0 ]; then