In a mess while refactor!

This commit is contained in:
Your Name
2025-05-03 21:46:32 +12:00
parent c6b7e2bb41
commit 0c2b90cf8e
34 changed files with 938 additions and 42 deletions

16
templates/caddy/logs.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
# LOGS SCRIPT
# The logs script is OPTIONAL.
# It is used to return the logs of the service.
# It is called with the path to the server specific env file as an argument.
source "$(dirname "$0")/_common.sh"
# Required environment variables
check_required_env_vars "CONTAINER_NAME"
echo "Container ${CONTAINER_NAME} logs:"
grey_start
docker logs "${CONTAINER_NAME}"
grey_end