~bacardi55/proxmox-scripts

94068bbbb55c3a62945f45f367105a53c454024f — bacardi55 7 months ago 7ddab62
update script
1 files changed, 3 insertions(+), 1 deletions(-)

M yasopp/forgejo-update.sh
M yasopp/forgejo-update.sh => yasopp/forgejo-update.sh +3 -1
@@ 8,6 8,8 @@ if [ "$EUID" -ne 0 ]
  exit
fi

echo "Stopping forgejo service"

cd ~/ && mkdir "${TMPDIR:?}" && cd "${TMPDIR}" || exit

echo "Retrieving and checking binary file"


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

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

echo "Update is DONE."