restarter.ex 190 Bytes
Newer Older
1
2
3
4
5
6
7
8
defmodule Restarter do
  use Application

  def start(_, _) do
    opts = [strategy: :one_for_one, name: Restarter.Supervisor]
    Supervisor.start_link([Restarter.Pleroma], opts)
  end
end