From 8335fbd3d536120c75e61da62dbe0640da5c9c0a Mon Sep 17 00:00:00 2001 From: Elad Bar <3207137+elad-bar@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:28:13 +0300 Subject: [PATCH] Restart traefik after update (#3831) Fixes #3830 --- ct/traefik.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/traefik.sh b/ct/traefik.sh index d86ac143..f711cb6a 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -62,6 +62,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP} tar -C /tmp -xzf traefik*.tar.gz mv /tmp/traefik /usr/bin/ rm -rf traefik*.tar.gz + systemctl restart traefik.service msg_ok "Updated $APP LXC" else msg_ok "No update required. ${APP} is already at ${RELEASE}"