@@ 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."