gitea-update-script/README.md

15 lines
446 B
Markdown
Raw Permalink Normal View History

2024-01-12 18:36:11 +01:00
# Gitea update script
This shell script updates Gitea automatically.
## How to use:
2024-01-12 18:41:56 +01:00
Download the .sh file:
2024-01-12 18:43:15 +01:00
`wget https://git.kmpr.at/kamp/gitea-update-script/raw/branch/main/updater.sh`
`chmod +x updater.sh`
2024-01-12 18:36:11 +01:00
2024-01-12 18:41:39 +01:00
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:
2024-01-12 18:43:15 +01:00
`crontab -e`
`0 5 * * * /root/updater.sh`