Add sample configuration file 'conf/optimize_archive_tables.conf.sample'.
This commit is contained in:
parent
e6c06ae85e
commit
2aaa0a4548
71
conf/optimize_archive_tables.conf.sample
Normal file
71
conf/optimize_archive_tables.conf.sample
Normal file
@ -0,0 +1,71 @@
|
||||
# ==========
|
||||
# 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"
|
Loading…
Reference in New Issue
Block a user