Added more detail to changelog, updated permissions in directory, and changed restartTriggers

launchpad/nixpkgs/master
Milo Gertjejansen 3 years ago
parent b0b71138c8
commit 7aa2bf302a
  1. 7
      nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
  2. 2
      nixos/doc/manual/release-notes/rl-2111.section.md
  3. 10
      nixos/modules/services/web-apps/tt-rss.nix

@ -558,9 +558,12 @@
<listitem>
<para>
<literal>tt-rss</literal> was upgraded to the commit on
2021-06-21, which has breaking changes, see
2021-06-21, which has breaking changes. If you use
<literal>services.tt-rss.extraConfig</literal> you should
migrate to the <literal>putenv</literal>-style configuration.
See
<link xlink:href="https://community.tt-rss.org/t/rip-config-php-hello-classes-config-php/4337">this
thread</link> in the tt-rss forums for details.
Discourse post</link> in the tt-rss forums for more details.
</para>
</listitem>
</itemizedlist>

@ -142,7 +142,7 @@ pt-services.clipcat.enable).
- the `mingw-64` package has been upgraded from 6.0.0 to 9.0.0
- `tt-rss` was upgraded to the commit on 2021-06-21, which has breaking changes, see [this thread](https://community.tt-rss.org/t/rip-config-php-hello-classes-config-php/4337) in the tt-rss forums for details.
- `tt-rss` was upgraded to the commit on 2021-06-21, which has breaking changes. If you use `services.tt-rss.extraConfig` you should migrate to the `putenv`-style configuration. See [this Discourse post](https://community.tt-rss.org/t/rip-config-php-hello-classes-config-php/4337) in the tt-rss forums for more details.
## Other Notable Changes {#sec-release-21.11-notable-changes}

@ -568,9 +568,7 @@ let
systemd.services = {
phpfpm-tt-rss = mkIf (cfg.pool == "${poolName}") {
restartTriggers = [
cfg.root
];
restartTriggers = [ tt-rss-config tt-rss ];
};
tt-rss = {
@ -611,9 +609,9 @@ let
''}
ln -sf "${tt-rss-config}" "${cfg.root}/config.php"
chmod -R 755 "${cfg.root}"
chmod -R 777 "${cfg.root}/${lockDir}"
chmod -R 777 "${cfg.root}/${cacheDir}"
chmod -R 777 "${cfg.root}/${feedIconsDir}"
chmod -R ug+rwX "${cfg.root}/${lockDir}"
chmod -R ug+rwX "${cfg.root}/${cacheDir}"
chmod -R ug+rwX "${cfg.root}/${feedIconsDir}"
''
+ (optionalString (cfg.database.type == "pgsql") ''

Loading…
Cancel
Save