This repository has been archived on 2023-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
awesome-scripts/README.md

22 lines
910 B
Markdown
Raw Normal View History

2020-05-20 23:46:30 +00:00
# awesome-scripts
2020-05-20 23:57:45 +00:00
Some useful bash scripts.
## Content
|Script|Description|
|---|---|
|[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|
2020-06-15 16:00:27 +00:00
|[docker-compose-up-all.sh](docker-compose-up-all.sh)|Script to call `docker-compose up -d` on all subdirectories|
2020-10-19 20:36:15 +00:00
|[docker-stack-deploy-all.sh](docker-stack-deploy-all.sh)|Script to call `docker stack deploy` on all subdirectories|
2020-05-20 23:57:45 +00:00
## Setup
2020-06-15 16:00:27 +00:00
To set up all scripts in the current directory run this:
2020-05-20 23:57:45 +00:00
```
2020-10-19 20:36:15 +00:00
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 docker-stack-deploy-all.sh
2020-05-20 23:57:45 +00:00
```