# Configuration for the tg2zola daily channel regeneration service # (used by both OpenRC and systemd). # # Space- or newline-separated Telegram channel usernames/IDs to regenerate # (a leading '@' is stripped automatically). # Example: # CHANNELS=" # durov # vitaly_zdanevich_chan # " CHANNELS="" # Base directory where each channel's Zola site is generated (/). OUTPUT_DIR="/var/lib/tg2zola" # Optional extra CLI arguments passed to tg2zola (e.g. "--offline --no-pagespeed"). # If /etc/tg2zola/.toml exists, it is passed automatically via --config. TG2ZOLA_ARGS="" # Optional base URL template for generated sites (%s is replaced with the channel ID), # e.g. "https://example.com/%s". Leave empty unless overriding --base-url globally. BASE_URL_TEMPLATE="" # Run `zola build` after tg2zola finishes each channel: # auto - run zola when installed in PATH # true - always run zola (fail if missing) # false - skip zola build RUN_ZOLA="auto" # Seconds between regeneration cycles for the OpenRC service (default: 86400 = 1 day). # The systemd timer uses OnCalendar=daily instead. INTERVAL_SECONDS="86400" # Optional environment variables exported to tg2zola (e.g. MTProto or API tokens): # TG_API_ID="" # TG_API_HASH="" # TG_SESSION="" # GH_TOKEN=""