1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-18 18:12:59 +00:00
nixpkgs/nixos/modules/services
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
..
admin/salt salt-minion: link to configuration documentation 2017-05-11 07:12:04 +01:00
amqp nixos/rabbitmq: fix restarts and sasl logs 2017-09-23 17:58:43 -04:00
audio nixos/mpd: allow configuring playlist directory (#28252) 2017-08-20 20:34:34 +00:00
backup nixos/znapzend: stateless setup 2017-12-28 01:40:01 +01:00
cluster Revert "kubernetes: fix hashes after dockerTools change" 2017-09-28 14:09:49 +02:00
computing slurm: 15-08-5-1 -> 17.02.6, slurm-llnl -> slurm 2017-07-13 03:13:05 -04:00
continuous-integration buildkite-agent: change hooksPath type to 'path' (and prevent it from hitting the store) 2017-12-28 12:16:05 +00:00
databases nixos/memcached: make unix sockets usuable 2018-01-03 12:33:36 +01:00
desktops nixos.gnome3.at-spi2-core: Set environment variable NO_AT_BRIDGE=1 if disabled 2017-12-13 04:55:35 +01:00
development hoogle service: fixups 2016-04-22 03:58:08 +02:00
editors replace "Mac OS X" and "OS X" with "macOS" 2017-08-07 21:41:30 +02:00
games ghostOne: remove 2017-12-29 02:18:35 +01:00
hardware thinkfan: proper case in IBM, Lenovo, ThinkPad 2017-12-24 12:54:43 +00:00
logging nixos/logcheck: replace rm with rm -r to delete the empty logcheck.logfiles.d/ 2017-12-17 04:02:26 +00:00
mail nixos/dkimproxy-out: init (#33229) 2018-01-03 01:23:02 +00:00
misc gitlab: remove unnecessary assertion 2017-12-26 01:11:16 +01:00
monitoring nixos/smartd: allow extra cli options for daemon 2017-12-19 18:43:49 +01:00
network-filesystems nixos/beegfs: fix the build of the NixOS manual 2017-12-31 07:52:32 +00:00
networking Merge pull request #32258 from ryantrinkle/add-nat-extraCommands 2018-01-02 14:32:42 -05:00
printing cups service: Automatically detect Gutenprint in drivers 2017-08-29 05:25:12 +04:00
scheduling fcron module: be compatible with non-wrapped sendmail's, like opensmtpd's 2017-12-31 03:34:11 +01:00
search treewide: get rid of invalid buildPhases argument 2017-11-08 21:38:06 +01:00
security usbguard service: rules option should be of type 'lines' 2017-12-29 03:19:36 +01:00
system Add localtime package and nixos module 2017-12-03 11:42:51 +01:00
torrent nixos/transmission: make it possible to use a different home directory (#29138) 2017-09-09 20:19:35 +00:00
ttys kmscon: reset ExecStart to allow override 2017-09-21 10:02:03 +08:00
web-apps nixos/nexus: fix typo 2017-11-29 22:39:37 +01:00
web-servers nginx module: only turn on HTTP2 when SSL is enabled 2017-12-28 00:32:24 +01:00
x11 awesome: Use --search instead of $LUA_PATH/$LUA_CPATH 2018-01-02 17:24:56 +00:00