Skip to content
Snippets Groups Projects
Commit b6cf62dd authored by lain's avatar lain
Browse files

Mix: Don't start esshd application if we don't need it.

parent f9e0d09e
No related branches found
No related tags found
No related merge requests found
......@@ -40,9 +40,16 @@ defmodule Pleroma.Mixfile do
#
# Type `mix help compile.app` for more information.
def application do
extra_applications = [:logger, :runtime_tools, :comeonin, :quack]
extra_applications = if Application.get_env(:esshd, :enabled, false) do
[:esshd | extra_applications]
else
extra_applications
end
[
mod: {Pleroma.Application, []},
extra_applications: [:logger, :runtime_tools, :comeonin, :esshd, :quack],
extra_applications: extra_applications,
included_applications: [:ex_syslogger]
]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment