aboutsummaryrefslogtreecommitdiff
path: root/restarter/lib/restarter.ex
blob: eadd86f891f249ed59eec14d23fd147b1d14c420 (plain)
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