fixed active-sessions.sh
This commit is contained in:
parent
afc5dd6c7a
commit
9bd3a90acd
3 changed files with 5 additions and 17 deletions
|
@ -10,7 +10,6 @@ Some useful bash scripts.
|
|||
|[login-notify.sh](login-notify.sh)|Script to send an alert 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|
|
||||
|[docker-stack-deploy-all.sh](docker-stack-deploy-all.sh)|Script to call `docker stack deploy` on all subdirectories|
|
||||
|[node_dir_size_exporter.sh](node_exporter/directory-size.sh)|Script to call `du` on a given directory to export the size to prometheus|
|
||||
|[update-notify.sh](update-notify.sh)|Script to call `apt` to check the host for new updates and notify in gotify|
|
||||
|
||||
|
@ -27,8 +26,7 @@ __node_exporter__
|
|||
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 -s healthcheck.sh login-notify.sh validate-remote-backup.sh docker-compose-up-all.sh docker-stack-deploy-all.sh update-notify.sh
|
||||
curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash -s active-sessions.sh directory-size.sh
|
||||
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 update-notify.sh
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
Reference in a new issue