Restart traefik after update

Fixes #3830
pull/3831/head
Elad Bar 10 months ago committed by GitHub
parent bb6759aae8
commit 7b4345ce26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      ct/traefik.sh

@ -62,6 +62,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
tar -C /tmp -xzf traefik*.tar.gz tar -C /tmp -xzf traefik*.tar.gz
mv /tmp/traefik /usr/bin/ mv /tmp/traefik /usr/bin/
rm -rf traefik*.tar.gz rm -rf traefik*.tar.gz
systemctl restart traefik.service
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
else else
msg_ok "No update required. ${APP} is already at ${RELEASE}" msg_ok "No update required. ${APP} is already at ${RELEASE}"

Loading…
Cancel
Save