diff options
Diffstat (limited to 'lib/toglx/supervisor.ex')
-rw-r--r-- | lib/toglx/supervisor.ex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/toglx/supervisor.ex b/lib/toglx/supervisor.ex new file mode 100644 index 0000000..74091a1 --- /dev/null +++ b/lib/toglx/supervisor.ex @@ -0,0 +1,15 @@ +defmodule Toglx.Supervisor do + use Supervisor + + def start_link do + Supervisor.start_link(__MODULE__, [], name: __MODULE__) + end + + def init(_) do + children = [ + ] + + opts = [strategy: :one_for_one] + supervise(children, opts) + end +end |