diff options
author | rinpatch <rinpatch@sdf.org> | 2020-11-07 22:09:28 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-11-08 11:56:09 +0300 |
commit | cc45c69fff515cb82c4902b67c8edce6b109c819 (patch) | |
tree | 1bdb071352bc83dc2a5a537f04ba37da9bf6dcf1 /installation | |
parent | 294628d9815d6e7390427c08ff0f8f5b073dc10f (diff) | |
download | pleroma-cc45c69fff515cb82c4902b67c8edce6b109c819.tar.gz pleroma-cc45c69fff515cb82c4902b67c8edce6b109c819.zip |
Remove release_env
While taking a final look at instance.gen before releasing I noticed
that the release_env task outputs messages in broken english. Upon
further inspection it seems to have even more severe issues which, in
my opinion, warrant it's at least temporary removal:
- We do not explain what it actually does, anywhere. Neither the task
docs nor instance.gen, nor installation instructions.
- It does not respect FHS on OTP releases (uses /opt/pleroma/config even
though we store the config in /etc/pleroma/config.exs).
- It doesn't work on OTP releases, which is the main reason it exists.
Neither systemd nor openrc service files for OTP include it.
- It is not mentioned in install guides other than the ones for Debian
and OTP releases.
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/init.d/pleroma | 1 | ||||
-rw-r--r-- | installation/pleroma.service | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/installation/init.d/pleroma b/installation/init.d/pleroma index e908cda1b..384536f7e 100755 --- a/installation/init.d/pleroma +++ b/installation/init.d/pleroma @@ -8,7 +8,6 @@ pidfile="/var/run/pleroma.pid" directory=/opt/pleroma healthcheck_delay=60 healthcheck_timer=30 -export $(cat /opt/pleroma/config/pleroma.env) : ${pleroma_port:-4000} diff --git a/installation/pleroma.service b/installation/pleroma.service index 63e83ed6e..8338228d8 100644 --- a/installation/pleroma.service +++ b/installation/pleroma.service @@ -17,8 +17,6 @@ Environment="MIX_ENV=prod" Environment="HOME=/var/lib/pleroma" ; Path to the folder containing the Pleroma installation. WorkingDirectory=/opt/pleroma -; Path to the environment file. the file contains RELEASE_COOKIE and etc -EnvironmentFile=/opt/pleroma/config/pleroma.env ; Path to the Mix binary. ExecStart=/usr/bin/mix phx.server |