mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
14 lines
352 B
Elixir
14 lines
352 B
Elixir
import Config
|
|
|
|
rootdefault = case System.get_env("RELIVE", "false") do
|
|
"true" -> "_build/relive"
|
|
"false" -> ""
|
|
end
|
|
|
|
rootpath = System.get_env("RELEASE_ROOT", rootdefault)
|
|
config :ejabberd,
|
|
file: Path.join(rootpath, "conf/ejabberd.yml"),
|
|
log_path: Path.join(rootpath, 'logs/ejabberd.log')
|
|
config :mnesia,
|
|
dir: Path.join(rootpath, 'database/')
|