Merge pull request #94166 from 1000101/bitcoind
release-notes/rl-2009: amend bitcoind incompatibility
This commit is contained in:
commit
4181ae25bf
|
@ -544,21 +544,42 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
|
||||||
to be used for every display-manager in NixOS.
|
to be used for every display-manager in NixOS.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The <literal>bitcoind</literal> module has changed to multi-instance, using submodules.
|
The <literal>bitcoind</literal> module has changed to multi-instance, using submodules.
|
||||||
Therefore, it is now mandatory to name each instance, e.g.:
|
Therefore, it is now mandatory to name each instance.
|
||||||
|
To use this new multi-instance config with an existing bitcoind data directory and user,
|
||||||
|
you have to adjust the original config, e.g.:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
services.bitcoind = {
|
services.bitcoind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
extraConfig = "...";
|
||||||
|
...
|
||||||
|
};
|
||||||
</programlisting>
|
</programlisting>
|
||||||
requires a name now:
|
To something similar:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
services.bitcoind."example-mainnet" = {
|
services.bitcoind.mainnet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
dataDir = "/var/lib/bitcoind";
|
||||||
|
user = "bitcoin";
|
||||||
|
extraConfig = "...";
|
||||||
|
...
|
||||||
|
};
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
The key settings are:
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>dataDir</literal> - to continue using the same data directory.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>user</literal> - to continue using the same user so that bitcoind maintains access to its files.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
Loading…
Reference in New Issue