mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 20:00:51 +00:00
Harmonize Service MSG-Blocks (#8233)
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
This commit is contained in:
parent
f39b17ad7a
commit
4b5fc75ee1
47 changed files with 173 additions and 172 deletions
|
|
@ -28,15 +28,15 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
if check_for_gh_release "gokapi" "Forceu/Gokapi"; then
|
||||
msg_info "Stopping ${APP}"
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop gokapi
|
||||
msg_ok "Stopped ${APP}"
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
fetch_and_deploy_gh_release "gokapi" "Forceu/Gokapi" "prebuild" "latest" "/opt/gokapi" "gokapi-linux_amd64.zip"
|
||||
|
||||
msg_info "Starting ${APP}"
|
||||
msg_info "Starting Service"
|
||||
systemctl start gokapi
|
||||
msg_ok "Started ${APP}"
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated Successfully"
|
||||
fi
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue