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
560efcb7f1
commit
ce332177be
@ -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