Merge branch 'master' of ssh://gitea.tlcnet.info:227/tracey/shell-scripts
Resolved merge conflict
This commit is contained in:
commit
a896af549f
1 changed files with 10 additions and 3 deletions
|
|
@ -92,11 +92,18 @@ if ( $tag gt $gitea_current_version || $alphanum_ver == 1 ) {
|
|||
=devel
|
||||
# Because doing this in perl would be a memory hog
|
||||
`xz -d --keep /home/gitea/bin/$download_filename`
|
||||
|
||||
# Stop gitea service
|
||||
# rename unpacked binary to gitea or symlink??
|
||||
# chown gitea.gitea binary
|
||||
# chmod 754 gitea
|
||||
# Check if we can start gitea
|
||||
# If can start then end
|
||||
# If no start restore the backup
|
||||
# Notifications
|
||||
# If can start then
|
||||
# Remove old binary (backup done at beginning)
|
||||
# Rename new binary to gitea
|
||||
# Remove .xz file
|
||||
# Notify success notify(1)
|
||||
# If no start notify and end & notify fail notify(0)
|
||||
=cut
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue