Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

25 Zeilen
843B

  1. defmodule Pleroma.Application do
  2. use Application
  3. # See http://elixir-lang.org/docs/stable/elixir/Application.html
  4. # for more information on OTP Applications
  5. def start(_type, _args) do
  6. import Supervisor.Spec
  7. # Define workers and child supervisors to be supervised
  8. children = [
  9. # Start the Ecto repository
  10. supervisor(Pleroma.Repo, []),
  11. # Start the endpoint when the application starts
  12. supervisor(Pleroma.Web.Endpoint, []),
  13. # Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
  14. # worker(Pleroma.Worker, [arg1, arg2, arg3]),
  15. ]
  16. # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
  17. # for other strategies and supported options
  18. opts = [strategy: :one_for_one, name: Pleroma.Supervisor]
  19. Supervisor.start_link(children, opts)
  20. end
  21. end