#!/bin/sh
# dinoer-campaign — wrapper for the .deb distribution channel.
# campagne.py reads searxng_url and ntfy.url through lib.repertoire_chiffre,
# which follows DINOER_CONF: export it as dinoer-shot and dinoer-rpa do, so the
# keys written in /etc/dinoer/dinoer.conf are read on this channel.
DINOER_CONF="${DINOER_CONF:-/etc/dinoer/dinoer.conf}"
export DINOER_CONF
exec /opt/dinoer/venv/bin/python3 /opt/dinoer/campagne.py "$@"
