Commit b6cf62dd authored by lain's avatar lain

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

parent f9e0d09e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment