Configure Matomo offline logs

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2019-10-24 13:00:49 +02:00
parent bada941362
commit 374d678c9b
2 changed files with 25 additions and 1 deletions

View file

@ -8,6 +8,8 @@ echo "Sentry DNS:"
read sentry
echo "Matomo site id:"
read matomo
echo "Matomo token:"
read matomo_token
echo "Munin allow:"
read munin

@ -17,9 +19,12 @@ cat > /etc/weblate-bootstrap <<EOT
WEBLATE_DOMAIN="$domain"
WEBLATE_TITLE="$title"
WEBLATE_SECRET=$(openssl rand -hex 32)
WEBLATE_PIWIK="$matomo"
WEBLATE_SENTRY="$sentry"

# Matomo
MATOMO_SITE="$matomo"
MATOMO_TOKEN="$matomo_token"

# Exim
EXIM_PASS=$smtp_pass
# $(openssl passwd -6 "$smtp_pass")