nixpkgs/nixos/modules/services
Alexandre Mazari d7f6cdeda4 Fix locally created database (#56889)
* zoneminder: fix initial database creation

Move initialDatabases directive from the 'ensureUsers' scope to the correct outer 'mysql' one.

* zoneminder: Fix mysql username to match unix username

When database.createLocally is used, a mysql user is created with the ensureUsers directive.
It ensures that the unix user with the name provided exists and can connect to MySQL through socket.
Thus, the MySQL username used by php/perl scripts must match the unix user owning the server PID.

This patch sets the default mysql user to 'zoneminder' instead of 'zmuser'.
2019-03-09 17:57:39 +02:00
..
admin
amqp
audio Merge pull request #55936 from tobim/modules/snapserver 2019-03-07 00:00:48 +01:00
backup nixos/duplicity: init 2019-02-03 19:13:01 +01:00
cluster nixos/kubernetes: add dns addonmanger reconcile mode option (#55834) 2019-03-09 12:57:41 +02:00
computing
continuous-integration nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
databases nixos/openldap: Fix quoting of log level 2019-03-07 14:19:50 +01:00
desktops nixos/gnome-settings-daemon: init 2019-03-01 14:55:12 -05:00
development
editors
games nixos/mincraft-server: refactor 2019-02-03 02:16:11 +01:00
hardware Merge pull request #55142 from FlorianFranzen/thinkfan_smart 2019-03-05 17:47:13 +07:00
logging nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
mail rmilter: fix inetSocket 2019-03-02 01:12:21 +00:00
misc Fix locally created database (#56889) 2019-03-09 17:57:39 +02:00
monitoring nixos/hdaps: automatically enable the hdapsd kernel module (#56309) 2019-03-08 09:50:02 +02:00
network-filesystems openafs: minor documentation fix 2019-02-26 14:49:59 -05:00
networking strongswan-swanctl: fix module by setting the new SWANCTL_DIR envvar 2019-03-08 16:11:38 +01:00
printing nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
scheduling
search
security munge: fix module munge.key permissions from 0700 -> 0400 readonly 2019-01-30 12:53:54 -05:00
system
torrent nixos/transmission: Bug fix Appamor Transmission startup errors (#54873) 2019-01-31 17:51:48 +00:00
ttys nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
web-apps Merge pull request #56987 from bachp/nextcloud-ocm-provider 2019-03-08 16:49:36 +01:00
web-servers nixos/nginx: support h2c 2019-03-08 17:50:46 +00:00
x11 Merge pull request #56774 from worldofpeace/mate/cleanup 2019-03-05 12:26:14 +01:00