README.md aktualisiert

This commit is contained in:
Manuel Kamper 2024-01-12 17:43:15 +00:00
parent c127111b44
commit 31cd2e07c3

View File

@ -5,11 +5,11 @@ This shell script updates Gitea automatically.
## How to use: ## How to use:
Download the .sh file: Download the .sh file:
´wget https://git.kmpr.at/kamp/gitea-update-script/raw/branch/main/updater.sh´ `wget https://git.kmpr.at/kamp/gitea-update-script/raw/branch/main/updater.sh`
´chmod +x updater.sh´ `chmod +x updater.sh`
Do not forget to set the path to the git binary in the script. Do not forget to set the path to the git binary in the script.
Optionally you can set up a cronjob to run this script and run automatic updates for example daily at 5:00: Optionally you can set up a cronjob to run this script and run automatic updates for example daily at 5:00:
´crontab -e´ `crontab -e`
´0 5 * * * /root/updater.sh´ `0 5 * * * /root/updater.sh`