# -*- mode: shell-script -*- NTFY_CONFIGFILE="$SERVICE_CONFIGSTORE/etc/ntfy/server.yml" ntfy:init() { service_def=$(get_compose_service_def "$SERVICE_NAME") mkdir -p "${NTFY_CONFIGFILE%/*}" && e "$service_def" | yq e '.options' - > "$NTFY_CONFIGFILE" } ntfy:config() { local cmd="$1" yq e "$1" -i "$NTFY_CONFIGFILE" }