summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl')
-rw-r--r--deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl19
1 files changed, 19 insertions, 0 deletions
diff --git a/deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl b/deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl
new file mode 100644
index 0000000000..ee9cc02b7a
--- /dev/null
+++ b/deps/rabbitmq_peer_discovery_common/src/rabbit_peer_discovery_common_app.erl
@@ -0,0 +1,19 @@
+%% This Source Code Form is subject to the terms of the Mozilla Public
+%% License, v. 2.0. If a copy of the MPL was not distributed with this
+%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
+%%
+%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
+%%
+
+-module(rabbit_peer_discovery_common_app).
+
+-behaviour(application).
+-export([start/2, stop/1]).
+
+start(_Type, _StartArgs) ->
+ rabbit_peer_discovery_httpc:maybe_configure_proxy(),
+ rabbit_peer_discovery_httpc:maybe_configure_inet6(),
+ rabbit_peer_discovery_common_sup:start_link().
+
+stop(_State) ->
+ ok.