updated setup.sh and README.md
This commit is contained in:
parent
5fb1f5ab6d
commit
955ab92e56
2 changed files with 3 additions and 3 deletions
|
@ -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|
|
|[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|
|
|[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|
|
|[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
|
## Setup
|
||||||
|
|
||||||
To set up 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
|
||||||
```
|
```
|
||||||
|
|
1
setup.sh
1
setup.sh
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
URL="https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/"
|
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
|
for script in "$@"; do
|
||||||
echo "Downloading $script"
|
echo "Downloading $script"
|
||||||
|
|
Reference in a new issue