diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-04-08 15:45:31 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-04-08 15:45:31 +0300 |
commit | 681a42c359b4fbae74285363c670dff18aac5918 (patch) | |
tree | 7a6028468fd6058ef6340d946833c6abe77ec39a /mix.exs | |
parent | 4d046afd2769cfdc16b2ee48e8c1d8f7f8e8ffa7 (diff) | |
download | pleroma-681a42c359b4fbae74285363c670dff18aac5918.tar.gz |
release runtime provider fix for paths
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -38,7 +38,7 @@ defmodule Pleroma.Mixfile do include_executables_for: [:unix], applications: [ex_syslogger: :load, syslog: :load, eldap: :transient], steps: [:assemble, &put_otp_version/1, ©_files/1, ©_nginx_config/1], - config_providers: [{Pleroma.Config.ReleaseRuntimeProvider, release_config_paths()}] + config_providers: [{Pleroma.Config.ReleaseRuntimeProvider, []}] ] ] ] @@ -67,17 +67,6 @@ defmodule Pleroma.Mixfile do release end - defp release_config_paths do - config_path = System.get_env("PLEROMA_CONFIG_PATH") || "/etc/pleroma/config.exs" - - exported_config_path = - config_path - |> Path.dirname() - |> Path.join("#{Mix.env()}.exported_from_db.secret.exs") - - [config_path: config_path, exported_config_path: exported_config_path] - end - # Configuration for the OTP application. # # Type `mix help compile.app` for more information. |