nixpkgs/nixos/modules/services/databases
Jörg Thalheim c9c8a2c5b3 nixos/memcached: make unix sockets usuable
before:
  - /var/run/memcached is a bad default for a socket path, since its
    parent directory must be writeable by memcached.
  - Socket directory was not created by the module itself -> this was
    left as a burden to the user?
  - Having a static uid with a dynamic user name is not very useful.

after:
  - Replace services.memcached.socket by a boolean flag. This simplifies
    our code, since we do not have to check if the user specifies a
    path with a parent directory that should be owned by memcached
    (/run/memcached/memcached.sock -> /run/memcached).
  - Remove fixed uid/gid allocation. The only file ever owned by the
    daemon is the socket that will be recreated on every start.
    Therefore user and group ids do not need to be static.
  - only create the memcached user, if the user has not specified a
    different one. The major use case for changing option is to allow
    existing services (such as php-fpm) opening the local unix socket.
    If we would unconditionally create a user that option would be
    useless.
2018-01-03 12:33:36 +01:00
..
4store-endpoint.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00
4store.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00
cassandra.nix treewide: use boolToString function 2017-04-11 18:18:53 +02:00
clickhouse.nix clickhouse: init at 1.1.54190 2017-04-27 13:25:58 +00:00
couchdb.nix couchdb: add support for version 2.0.0 2017-03-06 11:42:02 +01:00
firebird.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
hbase.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
influxdb.nix influxdb sevice: make postStart test work with non-localhost configurations (#29734) 2017-09-24 15:37:17 +01:00
memcached.nix nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
mongodb.nix mongodb: we already set quiet in config 2017-07-27 13:26:36 +01:00
mysql.nix mysql module: cleanup obsolete checks 2017-12-29 02:18:35 +01:00
neo4j.nix neo4j service: neo4j-wrapper is deprecated, merge into neo4j.conf 2017-03-19 16:56:53 -05:00
openldap.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
opentsdb.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
pgmanage.nix postage: replaced by pgmanage-10.0.2 2017-11-03 00:14:00 +01:00
postgresql.nix services.postgres: fix quoting in the description of superUser 2017-11-13 22:22:35 +01:00
postgresql.xml doc: use postgresql94 2015-01-07 13:21:18 +01:00
redis.nix nixos/redis: enforce owner/perms on /var/lib/redis (#18046) 2016-08-28 08:05:14 +00:00
rethinkdb.nix rethinkdb service: initial implementation 2017-06-27 02:09:15 +02:00
riak-cs.nix riak-cs: init at 2.1.1 2016-11-21 12:30:11 +01:00
riak.nix riak: added extraAdvancedConfig option to service module 2016-11-21 15:46:04 +01:00
stanchion.nix stanchion: remove ssl option 2017-02-17 13:24:51 +01:00
virtuoso.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00