-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c54738e
commit dad5baf
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# gitea_update_script | ||
|
||
A script to automatically update [Gitea](https://gitea.io) installed on local | ||
host to the latest version from Github. | ||
|
||
## Installation | ||
|
||
Place in an appropriate location on local host and execute on schedule via cron. | ||
|
||
## Dependencies | ||
|
||
Requires some basic shell commands listed in the script, and assumes that | ||
`systemd` is used to start/stop Gitea. | ||
|
||
Assumes that Gitea is executed from a symlink specified in $DIR. The actual | ||
Gitea binaries are placed in $DIR/bin. This script will automatically update | ||
the symlink when a new verson is downloaded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters