1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-22 01:46:48 +02:00

Restart traefik after update (#3831)

Fixes #3830
This commit is contained in:
Elad Bar 2024-10-04 10:28:13 +03:00 committed by GitHub
parent bb6759aae8
commit 8335fbd3d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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