From 5742bf52e24617bcc11dee2c2eb0d8c2d7c21b3e Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 18 Aug 2020 15:17:12 -0700 Subject: [PATCH] Rename OMNIBOT_CFG env variable to OMNIBOT_CONFIG Signed-off-by: Alek Ratzloff --- lib/supervisor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [