nixpkgs/nixos/doc/manual
Kevin Cox 568d2e77f4
nixos.redis: Fix disabling of RDB persistence.
I was under the impression that setting `services.redis.servers.<name>.save = []` would disable RDB persistence as no schedule would mean no persistence. However since the code did not handle this case specially it actually results in no `save` setting being written and the internal Redis default is used.

This patch handles the empty case to disable RDB persistence.

Disabling RDB persistence is useful in a number of scenarios:

1. Using Redis in a pure-cache mode where persistence is not desired.
2. When using the (generally superior) AOF persistence mode this file is never read so there is little point to writing it.
3. When saving is handled manually

For more information see https://redis.io/docs/manual/persistence/

This is a breaking change as the user may have been relying on `[]` using Redis defaults. However I believe that updating the behaviour for the next release is beneficial as IMHO it is less surprising and does what the user would expect. I have added release notes to warn about this change.
2022-07-05 07:37:38 -04:00
..
administration nixos-container: Use new configuration & state directories 2022-04-27 18:35:08 +12:00
configuration Merge pull request #176595 from symphorien/appimage-run-doc 2022-07-03 20:36:21 +00:00
development nixos/doc: Fix typo in activation-script.md 2022-06-28 17:46:16 -04:00
from_md nixos.redis: Fix disabling of RDB persistence. 2022-07-05 07:37:38 -04:00
installation nixos/doc: document how to use kexecTree 2022-06-09 20:08:34 +02:00
release-notes nixos.redis: Fix disabling of RDB persistence. 2022-07-05 07:37:38 -04:00
.gitignore
contributing-to-this-manual.chapter.md nixos/doc: convert "Contributing to this manual" to CommonMark 2021-05-22 18:14:49 -07:00
default.nix nixos/doc: Make nixos-manual-combined fail easy to inspect 2022-06-27 17:41:32 +02:00
Makefile nixos/doc/manual/Makefile: Do not format 2021-03-22 21:15:11 +01:00
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml nixos-install: support --no-root-password 2021-11-22 22:09:50 +02:00
man-nixos-option.xml
man-nixos-rebuild.xml nixos-rebuild: document cross compilation subtlety 2022-04-05 16:00:51 +02:00
man-nixos-version.xml
man-pages.xml nixos/manual: Update copyright years, authors, and copyright 2022-03-20 12:27:12 +01:00
manual.xml nixos/doc: convert "Contributing to this manual" to CommonMark 2021-05-22 18:14:49 -07:00
md-to-db.sh nixos/doc/md-to-db.sh: consistent pandoc version 2022-04-14 12:57:51 +00:00
preface.xml Link to Libera, Matrix instead of Freenode 2021-07-06 16:35:37 +02:00
README.md nixos/manual: Fix link to contributing guide 2021-07-16 22:55:28 -07:00
shell.nix mkShell: introduce packages argument (#122180) 2021-05-13 19:17:29 +02:00