You've already forked tribes-plugin-aether
forked from tribes/tribes-plugin-template
Rename to aether plugin and add /aether timeline integration
This commit is contained in:
21
lib/aether/application.ex
Normal file
21
lib/aether/application.ex
Normal file
@@ -0,0 +1,21 @@
|
||||
defmodule Aether.Application do
|
||||
@moduledoc """
|
||||
OTP Application for this plugin.
|
||||
|
||||
Uncomment the `mod:` entry in mix.exs to activate this supervision tree.
|
||||
Add plugin-specific GenServers, workers, or supervisors as children here.
|
||||
"""
|
||||
|
||||
use Application
|
||||
|
||||
@impl true
|
||||
def start(_type, _args) do
|
||||
children = [
|
||||
# Add your supervised processes here, e.g.:
|
||||
# {Aether.Worker, []}
|
||||
]
|
||||
|
||||
opts = [strategy: :one_for_one, name: Aether.Supervisor]
|
||||
Supervisor.start_link(children, opts)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user