mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
8 lines
190 B
Elixir
8 lines
190 B
Elixir
defmodule Restarter do
|
|
use Application
|
|
|
|
def start(_, _) do
|
|
opts = [strategy: :one_for_one, name: Restarter.Supervisor]
|
|
Supervisor.start_link([Restarter.Pleroma], opts)
|
|
end
|
|
end
|