Fix service messages in upgopher.sh

This commit is contained in:
Tobias 2025-11-17 10:40:57 +01:00 committed by GitHub
parent 81a8fa0c77
commit 7ce0006f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,16 +29,16 @@ function update_script() {
fi
if check_for_gh_release "upgopher" "wanetty/upgopher"; then
msg_info "Stopping Services"
msg_info "Stopping Service"
systemctl stop upgopher
msg_ok "Stopped Services"
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "upgopher" "wanetty/upgopher" "prebuild" "latest" "/opt/upgopher" "upgopher_*_linux_amd64.tar.gz"
chmod +x /opt/upgopher/upgopher
msg_info "Starting Services"
msg_info "Starting Service"
systemctl start upgopher
msg_ok "Started Services"
msg_ok "Started Service"
msg_ok "Updated successfully!"
fi
exit