]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove open port for mysql replication
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 8 Dec 2019 17:16:26 +0000 (18:16 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 8 Dec 2019 17:16:26 +0000 (18:16 +0100)
modules/private/databases/mariadb_replication.nix

index 52a34d3e20d9fc91671f7e7b766f93bce205f385..ca1432f87815b6bf0e6487249071a174ca81f6f7 100644 (file)
@@ -167,6 +167,7 @@ in
       lib.attrsets.nameValuePair "mysql/${name}_my.cnf" {
         text = ''
           [mysqld]
+          skip-networking
           socket = /run/mysqld_${name}/mysqld.sock
           datadir = ${cfg.base}/${name}/mysql/
           log-bin = mariadb-bin