mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 13:02:08 +00:00
9 lines
190 B
Elixir
9 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
|