diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 12:01:51 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 12:28:26 +0200 |
commit | 11cb382a4c095656463117390baf5b03e029d8a2 (patch) | |
tree | 3c94cdfd94ba25a6fc8e54157908ab3b07277947 /nixos/modules/services/web-apps | |
parent | 092c25ac08ad680b30d201c946aa978e3f23d007 (diff) | |
download | nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar.gz nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar.bz2 nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar.lz nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar.xz nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.tar.zst nixpkgs-11cb382a4c095656463117390baf5b03e029d8a2.zip |
nixos/doc: Fix spurious indentation
Diffstat (limited to 'nixos/modules/services/web-apps')
-rw-r--r-- | nixos/modules/services/web-apps/matomo-doc.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nixos/modules/services/web-apps/matomo-doc.xml b/nixos/modules/services/web-apps/matomo-doc.xml index 021a89be3f6..8485492c51c 100644 --- a/nixos/modules/services/web-apps/matomo-doc.xml +++ b/nixos/modules/services/web-apps/matomo-doc.xml @@ -21,18 +21,18 @@ passwordless database authentication via the UNIX_SOCKET authentication plugin with the following SQL commands: <programlisting> - # For MariaDB - INSTALL PLUGIN unix_socket SONAME 'auth_socket'; - CREATE DATABASE matomo; - CREATE USER 'matomo'@'localhost' IDENTIFIED WITH unix_socket; - GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost'; +# For MariaDB +INSTALL PLUGIN unix_socket SONAME 'auth_socket'; +CREATE DATABASE matomo; +CREATE USER 'matomo'@'localhost' IDENTIFIED WITH unix_socket; +GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost'; - # For MySQL - INSTALL PLUGIN auth_socket SONAME 'auth_socket.so'; - CREATE DATABASE matomo; - CREATE USER 'matomo'@'localhost' IDENTIFIED WITH auth_socket; - GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost'; - </programlisting> +# For MySQL +INSTALL PLUGIN auth_socket SONAME 'auth_socket.so'; +CREATE DATABASE matomo; +CREATE USER 'matomo'@'localhost' IDENTIFIED WITH auth_socket; +GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost'; +</programlisting> Then fill in <literal>matomo</literal> as database user and database name, and leave the password field blank. This authentication works by allowing only the <literal>matomo</literal> unix user to authenticate as the |