From 2ce5382f1f21712b70d3f332df9c097c23d73394 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 8 Nov 2024 16:44:28 +0800 Subject: [PATCH] Update scripts --- roles/files/debian/setup/scripts/backup.sh | 2 +- roles/files/debian/setup/scripts/renew_ssl.sh | 4 ++-- roles/files/debian/setup/scripts/start_services.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/files/debian/setup/scripts/backup.sh b/roles/files/debian/setup/scripts/backup.sh index 02ed245..5ef4d99 100644 --- a/roles/files/debian/setup/scripts/backup.sh +++ b/roles/files/debian/setup/scripts/backup.sh @@ -49,7 +49,7 @@ function backup() { docker_projects="/mnt/nvme/files/docker projects/" # Sample Entry -backup "sample" "$docker_projects/sample_project" '--exclude "*.tmp" +# backup "sample" "$docker_projects/sample_project" '--exclude "*.tmp" ## Non-Docker Directories diff --git a/roles/files/debian/setup/scripts/renew_ssl.sh b/roles/files/debian/setup/scripts/renew_ssl.sh index 2cad80b..dde0a9f 100644 --- a/roles/files/debian/setup/scripts/renew_ssl.sh +++ b/roles/files/debian/setup/scripts/renew_ssl.sh @@ -1,9 +1,9 @@ #!/bin/bash -scripts_directory="/root/scripts/acme_scripts" +directory="/root/scripts/acme_scripts" # Execute all .sh files in the directory -for script in "$scripts_directory"/*.sh; do +for script in "$directory"/*.sh; do echo "--Executing $script--" bash "$script" done \ No newline at end of file diff --git a/roles/files/debian/setup/scripts/start_services.sh b/roles/files/debian/setup/scripts/start_services.sh index f974204..c461b46 100644 --- a/roles/files/debian/setup/scripts/start_services.sh +++ b/roles/files/debian/setup/scripts/start_services.sh @@ -6,7 +6,7 @@ docker_projects="/mnt/nvme/files/docker projects" # Sample Entry -cd "$docker_projects/sample_project" && docker-compose down && docker-compose up -d +# cd "$docker_projects/sample_project" && docker-compose down && docker-compose up -d ## Non-Docker Projects