Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jeff
pleroma
Commits
f3230319
Commit
f3230319
authored
5 years ago
by
lain
Browse files
Options
Downloads
Patches
Plain Diff
Mix: Only start sshd when needed, second try.
parent
3b12e1ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mix.exs
+2
-11
2 additions, 11 deletions
mix.exs
with
2 additions
and
11 deletions
mix.exs
+
2
−
11
View file @
f3230319
...
...
@@ -40,18 +40,9 @@ 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:
extra_applications
,
extra_applications:
[
:logger
,
:runtime_tools
,
:comeonin
,
:quack
]
,
included_applications:
[
:ex_syslogger
]
]
end
...
...
@@ -129,7 +120,7 @@ defmodule Pleroma.Mixfile 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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment