work around path limits
This commit is contained in:
parent
e273724b1c
commit
94431fc6d2
@ -401,7 +401,10 @@ export interface BankConfig {
|
||||
|
||||
function setPaths(config: Configuration, home: string) {
|
||||
config.setString("paths", "taler_home", home);
|
||||
config.setString("paths", "taler_runtime_dir", "$TALER_HOME/taler-runtime/");
|
||||
// We need to make sure that the path of taler_runtime_dir isn't too long,
|
||||
// as it contains unix domain sockets (108 character limit).
|
||||
const runDir = fs.mkdtempSync("/tmp/taler-test-");
|
||||
config.setString("paths", "taler_runtime_dir", runDir);
|
||||
config.setString(
|
||||
"paths",
|
||||
"taler_data_home",
|
||||
|
Loading…
Reference in New Issue
Block a user