mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-30 03:32:05 +03:00
rtl: set DB_DIRECTORY_PATH
This prevents RTL from trying to create a database in the directory that contains the RTL executable.
This commit is contained in:
parent
f4c159d0e2
commit
58c7e5519b
@ -191,6 +191,7 @@ in {
|
||||
optional cfg.nodes.lnd.enable "lnd.service";
|
||||
after = requires;
|
||||
environment.RTL_CONFIG_PATH = cfg.dataDir;
|
||||
environment.DB_DIRECTORY_PATH = cfg.dataDir;
|
||||
serviceConfig = nbLib.defaultHardening // {
|
||||
ExecStartPre = [
|
||||
(nbLib.script "rtl-setup-config" ''
|
||||
|
Loading…
Reference in New Issue
Block a user