~bacardi55/proxmox-scripts

e141f94e1e5aa5aaaa41f10405454354198a69bb — bacardi55 7 months ago 94068bb main
update script
1 files changed, 3 insertions(+), 2 deletions(-)

M yasopp/forgejo-update.sh
M yasopp/forgejo-update.sh => yasopp/forgejo-update.sh +3 -2
@@ 16,7 16,7 @@ echo "Retrieving and checking binary file"
wget "https://codeberg.org/forgejo/forgejo/releases/download/v${VERSION}/forgejo-${VERSION}-linux-amd64"

wget "https://codeberg.org/forgejo/forgejo/releases/download/v${VERSION}/forgejo-${VERSION}-linux-amd64.asc"
gpg --verify "forgejo-${VERSION}-linux-amd64.asc" "forgejo-${VERSION}-linux-amd64" || echo "Not verified package"; exit
gpg --verify "forgejo-${VERSION}-linux-amd64.asc" "forgejo-${VERSION}-linux-amd64" || echo "Not verified package"
echo ""

echo "Moving binary and making it executable"


@@ 30,7 30,8 @@ rm -rf "${TMPDIR:?}"
echo ""

echo "Restarting forgejo service"
systemctl start forgejo.service
sleep 1
systemctl restart forgejo.service
echo ""

echo "Update is DONE."