about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-08-31 20:08:49 +0200
committerFlorian Klink <flokli@flokli.de>2019-09-01 14:08:42 +0200
commitff2fd6c4e5720c4ef0d549431397f813b769c6e9 (patch)
tree4fa8d0a6c4d0a1b6b980f4b86fa744ebb9bf56a7 /nixos/doc
parentd4283f47dca04ae5af0188b72c7f8d2b8e0cb7f1 (diff)
downloadnixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar.gz
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar.bz2
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar.lz
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar.xz
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.tar.zst
nixlib-ff2fd6c4e5720c4ef0d549431397f813b769c6e9.zip
nixos/redis: unbreak module
The redis module currently fails to start up, most likely due to running
a chown as non-root in preStart.

While at it, I hardcoded it to use systemd's StateDirectory and
DynamicUser to manage directory permissions, removed the unused
appendOnlyFilename option, and the pidFile option.

We properly tell redis now it's daemonized, and it'll use notify support
to signal readiness.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/release-notes/rl-1909.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml
index f831cfcdc574..14fafabde8e7 100644
--- a/nixos/doc/manual/release-notes/rl-1909.xml
+++ b/nixos/doc/manual/release-notes/rl-1909.xml
@@ -599,6 +599,11 @@
       package and <literal>crashplan-small-business</literal> service have been
       removed from nixpkgs due to lack of maintainer.
     </para>
+    <para>
+      The <link linkend="opt-services.redis.enable">redis module</link> was hardcoded to use the <literal>redis</literal> user,
+      <filename class="directory">/run/redis</filename> as runtime directory and
+      <filename class="directory">/var/lib/redis</filename> as state directory.
+    </para>
    </listitem>
    <listitem>
     <para>