piwik/conf/trigger_piwik_archives.conf.sample

72 lines
1.8 KiB
Plaintext

# ==========
# Settings for script trigger_piwik_archives.sh
# ==========
# - MYSQL_CREDENTIAL_ARGS
# -
# - MySQL / MariaDB credentials
# -
# - Giving password on command line is insecure an sind mysql 5.5
# - you will get a warning doing so.
# -
# - Reading username/password fro file ist also possible, using MySQL/MariaDB
# - commandline parameter '--defaults-file'.
# -
# - Since Mysql Version 5.6, you can read username/password from
# - encrypted file.
# -
# - Create (encrypted) option file:
# - $ mysql_config_editor set --login-path=piwik_admin --socket=/tmp/mysql.sock --user=piwik_admin --password
# - $ Password:
# -
# - Use of option file:
# - $ mysql --login-path=local ...
# -
# - Example
# - mysql_credential_args="--login-path=piwik_admin"
# - mysql_credential_args="--defaults-file=/etc/mysql/debian.cnf" (Debian default)
# - mysql_credential_args="--defaults-file=/usr/local/mysql/sys-maint.cnf"
# -
# - Defaults to:
# - MYSQL_CREDENTIAL_ARGS="--defaults-file=/usr/local/mysql/sys-maint.cnf"
# -
#MYSQL_CREDENTIAL_ARGS="--defaults-file=/usr/local/mysql/sys-maint.cnf"
# - STATS_HOSTNAME
# -
# - Hostname which provides matomo statistics
# -
# - Example:
# - STATS_HOSTNAME="stats.warenform.de"
# -
# - Defaults to stats.<domain-of-this-hostname>
# -
#STATS_HOSTNAME=""
# - STATS_BASE_DIR
# -
# - Base directory where all matomo (piwik) instances are located.
# -
# - Example:
# - STATS_BASE_DIR="/var/www/stats.warenform.de"
# -
# Defaults to:
# - STATS_BASE_DIR="/var/www/${STATS_HOSTNAME}""
# -
#STATS_BASE_DIR=""
# - MATOMO_PREFIX
# -
# - Databases and Matomo instances named as ${MATOMO_PREFIX}_<Number>.
# -
# - Example:
# - MATOMO_PREFIX="piwik"
# -
# - Defaults to:
# - MATOMO_PREFIX="matomo"
# -
#MATOMO_PREFIX="matomo"