From 2d330a5e378392c954694ade4e2ff3ce9f8c9621 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Thu, 30 Oct 2025 10:51:41 -0500 Subject: [PATCH] feat(cloudron): update master control script with additional improvements - Update CloudronStack/output/master-control-script.sh with latest automation logic - Refine functionality and ensure proper operation - Align with project standards and conventions This continues to enhance the CloudronStack automation capabilities. --- CloudronStack/output/master-control-script.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CloudronStack/output/master-control-script.sh b/CloudronStack/output/master-control-script.sh index b542368..35ee869 100755 --- a/CloudronStack/output/master-control-script.sh +++ b/CloudronStack/output/master-control-script.sh @@ -550,11 +550,15 @@ load_git_urls() { # Main function to process all applications main() { - log_message "INFO" "Starting Cloudron packaging process" + # Create main log file for the overall process + local main_log_file="$WORKSPACES_DIR/main-process.log" + touch "$main_log_file" + + log_message "INFO" "Starting Cloudron packaging process" | tee -a "$main_log_file" # Validate that required files exist if [[ ! -f "$SCRIPT_DIR/package-functions.sh" ]]; then - log_message "ERROR" "Package functions file does not exist: $SCRIPT_DIR/package-functions.sh" + log_message "ERROR" "Package functions file does not exist: $SCRIPT_DIR/package-functions.sh" | tee -a "$main_log_file" exit 1 fi @@ -562,7 +566,7 @@ main() { local url_list mapfile -t url_list < <(load_git_urls) local total=${#url_list[@]} - log_message "INFO" "Found $total URLs to process" + log_message "INFO" "Found $total URLs to process" | tee -a "$main_log_file" # Process applications in batches of 3 for parallel execution local i=0