Files
kamal/lib/kamal/cli/templates/sample_hooks/post-traefik-reboot.sample
Donal McBreen 5fd4a28bf7 Pre and post Traefik reboot hooks
Provide pre and post reboot hooks for Traefik, that can be used to
remove/add to an external load balancer to prevent requests from being
sent during the reboot.

Works best with the --rolling setting, where each hook is called once
per host.
2023-11-08 15:11:26 +00:00

4 lines
51 B
Bash
Executable File

#!/bin/sh
echo "Rebooted Traefik on $KAMAL_HOSTS"