forked from AkkomaGang/akkoma
Mix: Don't start esshd application if we don't need it.
This commit is contained in:
parent
f9e0d09ec0
commit
b6cf62ddea
1 changed files with 8 additions and 1 deletions
9
mix.exs
9
mix.exs
|
@ -40,9 +40,16 @@ def project do
|
||||||
#
|
#
|
||||||
# Type `mix help compile.app` for more information.
|
# Type `mix help compile.app` for more information.
|
||||||
def application do
|
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, []},
|
mod: {Pleroma.Application, []},
|
||||||
extra_applications: [:logger, :runtime_tools, :comeonin, :esshd, :quack],
|
extra_applications: extra_applications,
|
||||||
included_applications: [:ex_syslogger]
|
included_applications: [:ex_syslogger]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue