#!/bin/sh set -e # Stop the Gitea service before updating/removal systemctl stop gitea || true exit 0