updatescripts/README.md

18 lines
866 B
Markdown
Raw Normal View History

2023-03-08 09:46:38 +01:00
# Update Scripts
2023-04-12 01:11:27 +02:00
Collection of scripts for a bunch of linux and docker services.
2023-01-20 10:31:20 +01:00
## 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/
2023-01-20 10:24:20 +01:00
```bash
2023-04-12 16:29:30 +02:00
sh -c "$(curl -L https://git.moelle.space/hxcde/updatescripts/raw/branch/main/deb-flared-update.sh)"
2023-01-20 10:24:20 +01:00
```
2023-03-08 09:45:51 +01:00
## 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
2023-04-12 16:29:30 +02:00
sh -c "$(curl -L https://git.moelle.space/hxcde/updatescripts/raw/branch/main/update_docker_containers.sh)"
2023-04-11 23:06:43 +02:00
```