extend gitea
This commit is contained in:
parent
54ca06407c
commit
e8c3d030f3
@ -21,15 +21,16 @@ catch_errors
|
|||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
msg_info "Updating Alpine Packages"
|
msg_info "Updating Alpine Packages"
|
||||||
apk update && apk upgrade
|
$STD apk update
|
||||||
|
$STD apk upgrade
|
||||||
msg_ok "Updated Alpine Packages"
|
msg_ok "Updated Alpine Packages"
|
||||||
|
|
||||||
msg_info "Updating Gitea"
|
msg_info "Updating Gitea"
|
||||||
apk upgrade gitea
|
$STD apk upgrade gitea
|
||||||
msg_ok "Updated Gitea"
|
msg_ok "Updated Gitea"
|
||||||
|
|
||||||
msg_info "Restarting Gitea"
|
msg_info "Restarting Gitea"
|
||||||
rc-service gitea restart
|
$STD rc-service gitea restart
|
||||||
msg_ok "Restarted Gitea"
|
msg_ok "Restarted Gitea"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,15 +25,15 @@ $STD apk add \
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Gitea"
|
msg_info "Installing Gitea"
|
||||||
apk add --no-cache gitea
|
$STD apk add --no-cache gitea
|
||||||
msg_ok "Installed Gitea"
|
msg_ok "Installed Gitea"
|
||||||
|
|
||||||
msg_info "Enabling Gitea Service"
|
msg_info "Enabling Gitea Service"
|
||||||
rc-update add gitea default
|
$STD rc-update add gitea default
|
||||||
msg_ok "Enabled Gitea Service"
|
msg_ok "Enabled Gitea Service"
|
||||||
|
|
||||||
msg_info "Starting Gitea"
|
msg_info "Starting Gitea"
|
||||||
service gitea start
|
$STD service gitea start
|
||||||
msg_ok "Started Gitea"
|
msg_ok "Started Gitea"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user