#!/bin/sh # Check if puudot.py exists if [ ! -f "/code/puudot.py" ]; then echo "Error: puudot.py not found in /code directory!" exit 1 fi # Check if config.yaml exists if [ ! -f "/config.yaml" ]; then echo "Error: config.yaml not found in /config directory!" exit 1 fi verbose=$(yq eval '.puudot.verbose' /config.yaml) if [ "$verbose" = true ]; then echo $(dot -v) fi # Run the script python3 /code/puudot.py