Add /etc/akkoma in the config search path
Keeping /etc/pleroma to ease migration from Pleroma.
This commit is contained in:
parent
ebb6142472
commit
4833bc927e
|
@ -12,7 +12,8 @@ defmodule Pleroma.Config.ReleaseRuntimeProvider do
|
||||||
with_defaults = Config.Reader.merge(config, Pleroma.Config.Holder.release_defaults())
|
with_defaults = Config.Reader.merge(config, Pleroma.Config.Holder.release_defaults())
|
||||||
|
|
||||||
config_path =
|
config_path =
|
||||||
opts[:config_path] || System.get_env("PLEROMA_CONFIG_PATH") || "/etc/pleroma/config.exs"
|
opts[:config_path] || System.get_env("PLEROMA_CONFIG_PATH") || "/etc/akkoma/config.exs" ||
|
||||||
|
"/etc/pleroma/config.exs"
|
||||||
|
|
||||||
with_runtime_config =
|
with_runtime_config =
|
||||||
if File.exists?(config_path) do
|
if File.exists?(config_path) do
|
||||||
|
|
Loading…
Reference in a new issue