Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
f3230319
Commit
f3230319
authored
May 22, 2019
by
lain
Browse files
Mix: Only start sshd when needed, second try.
parent
3b12e1ba
Pipeline
#12195
passed with stages
in 9 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mix.exs
View file @
f3230319
...
...
@@ -40,18 +40,9 @@ def project 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:
extra_applications
,
extra_applications:
[
:logger
,
:runtime_tools
,
:comeonin
,
:quack
]
,
included_applications:
[
:ex_syslogger
]
]
end
...
...
@@ -129,7 +120,7 @@ defp deps do
{
:recon
,
github:
"ferd/recon"
,
tag:
"2.4.0"
},
{
:quack
,
"~> 0.1.1"
},
{
:benchee
,
"~> 1.0"
},
{
:esshd
,
"~> 0.1.0"
},
{
:esshd
,
"~> 0.1.0"
,
runtime:
Application
.
get_env
(
:esshd
,
:enabled
,
false
)
},
{
:ex_rated
,
"~> 1.2"
},
{
:plug_static_index_html
,
"~> 1.0.0"
},
{
:excoveralls
,
"~> 0.11.1"
,
only:
:test
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment