updatescripts/README.md
2023-03-08 09:45:51 +01:00

19 lines
864 B
Markdown

# autoupdates
Collection of autoupdate scripts for a bunch of linux and docker services
## Autoupdate for Cloudflared on Debian
- The script is installing a cron job which updates the cloudflared package every night at midnight.
- To change the time span, the job can be edited with "crontab -e".
- The syntax of cron can be looked up here. https://cron.help/
```bash
sh -c "$(curl -L https://raw.githubusercontent.com/hxcde/autupdates/main/deb-flared-update.sh)"
```
## Update all Docker Containers
- Please note that this script automatically updates the containers when a new image is available. Make sure that you have backed up all important data from the containers beforehand and that you consider possible effects on your applications.
```bash
sh -c "$(curl -L https://raw.githubusercontent.com/hxcde/autupdates/main/update_docker_containers.sh)"
```