Run riak with its dataDir as HOME so Erlang cookie can be written

See https://github.com/NixOS/nixpkgs/issues/18852
This commit is contained in:
Kevin van Zonneveld 2016-09-22 22:49:30 +02:00 committed by GitHub
parent cf6815275a
commit 6d3b06ce37

View File

@ -108,6 +108,7 @@ in
pkgs.bash
];
environment.HOME = "${cfg.dataDir}";
environment.RIAK_DATA_DIR = "${cfg.dataDir}";
environment.RIAK_LOG_DIR = "${cfg.logDir}";
environment.RIAK_ETC_DIR = "/etc/riak";