diff --git a/lib/supervisor.ex b/lib/supervisor.ex index 35067d7..9e0cb15 100644 --- a/lib/supervisor.ex +++ b/lib/supervisor.ex @@ -11,7 +11,7 @@ defmodule Omnibot.Supervisor do @impl true def init(:ok) do - cfg = System.get_env("OMNIBOT_CFG", "omnibot.exs") |> Config.load() + cfg = System.get_env("OMNIBOT_CONFIG", "omnibot.exs") |> Config.load() # TODO : move cfg to its own process so reloading it is as simple as killing the process children = [