Add 4 files
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 24s
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 24s
This commit is contained in:
8
caddy/reload-config.sh
Executable file
8
caddy/reload-config.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
# Hot-reload the Caddyfile configuration
|
||||
docker exec "${CONTAINER_NAME}" caddy reload --config /etc/caddy/Caddyfile || _die "Failed to reload configuration"
|
||||
|
||||
echo "Caddy configuration reloaded successfully"
|
||||
Reference in New Issue
Block a user