update stalwart-bootstrap

This commit is contained in:
2026-04-26 13:28:24 +00:00
parent 087a9c055e
commit 2464371f38
2 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -210,10 +210,15 @@ start_services() {
echo "Starting stalwart..."
$DOCKER_COMPOSE_COMMAND -f ./stalwart/docker-compose.yaml up --pull always -d
if [ $? -ne 0 ]; then
print_error "failed to start Stalwart!"
exit 1
fi
$DOCKER_COMPOSE_COMMAND -f ./stalwart/docker-compose.yaml run --rm --pull always stalwart-bootstrap
if [ $? -eq 0 ]; then
print_success "Stalwart started successfully."
else
print_error "failed to start Stalwart!"
print_error "Stalwart bootstrap failed!"
exit 1
fi