From 955ab92e56f153e0aeef83d5a6a6c751d77c9e85 Mon Sep 17 00:00:00 2001 From: samuel-p Date: Mon, 15 Jun 2020 18:00:27 +0200 Subject: [PATCH] updated setup.sh and README.md --- README.md | 5 +++-- setup.sh | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2133f4..4a25cad 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,12 @@ Some useful bash scripts. |[healthcheck.sh](healthcheck.sh)|Script to use as cron wrap to monitor the job with health.sp-codes.de| |[login-notify.sh](login-notify.sh)|Script to send an alert mail on ssh login| |[validate-remote-backup.sh](validate-remote-backup.sh)|Script to validate server side rsync command to use ssh force command| +|[docker-compose-up-all.sh](docker-compose-up-all.sh)|Script to call `docker-compose up -d` on all subdirectories| ## Setup -To setup all scripts in the current directory run this: +To set up all scripts in the current directory run this: ``` -curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash +curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash -s healthcheck.sh login-notify.sh validate-remote-backup.sh docker-compose-up-all.sh ``` diff --git a/setup.sh b/setup.sh index dfb3191..d3eba39 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,6 @@ #!/bin/bash URL="https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/" -SCRIPTS=("healthcheck.sh" "login-notify.sh" "validate-remote-backup.sh" "docker-compose-up-all.sh") for script in "$@"; do echo "Downloading $script"