3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Milo Gertjejansen 2021-07-28 20:53:38 -04:00
parent b0b71138c8
commit 7aa2bf302a
3 changed files with 10 additions and 9 deletions

View file

@ -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>

View file

@ -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}

View file

@ -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") ''