don't specify compose when reloading caddy

This commit is contained in:
Ruben 2025-10-08 23:38:57 -05:00
commit 22077fe493
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583

View file

@ -744,7 +744,7 @@ function caddy_reload {
# TODO: should we implement some sort of error checking here? in either case this will fail the entire script anyways if caddy isn't running and verbally reports that, so probably not required. # TODO: should we implement some sort of error checking here? in either case this will fail the entire script anyways if caddy isn't running and verbally reports that, so probably not required.
echo "${blue}caddy:${normal} Reloading Caddy..." echo "${blue}caddy:${normal} Reloading Caddy..."
docker compose exec -w /etc/caddy $caddy_name caddy reload docker exec -w /etc/caddy $caddy_name caddy reload
echo "${green}Reloaded.${normal}" echo "${green}Reloaded.${normal}"
} }