installation: Add ERL_EPMD_ADDRESS=127.0.0.1,::1 to services
[ci skip]
This commit is contained in:
parent
953aece848
commit
3d3f1509f9
@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
### Changed
|
||||||
|
- Make `epmd` listen only to localhost interfaces by setting `ERL_EPMD_ADDRESS=127.0.0.1,::1` to env.
|
||||||
|
|
||||||
## [2.0.0] - 2019-03-08
|
## [2.0.0] - 2019-03-08
|
||||||
### Security
|
### Security
|
||||||
- Mastodon API: Fix being able to request enourmous amount of statuses in timelines leading to DoS. Now limited to 40 per request.
|
- Mastodon API: Fix being able to request enourmous amount of statuses in timelines leading to DoS. Now limited to 40 per request.
|
||||||
|
@ -10,6 +10,7 @@ command_background=1
|
|||||||
|
|
||||||
export PORT=4000
|
export PORT=4000
|
||||||
export MIX_ENV=prod
|
export MIX_ENV=prod
|
||||||
|
export ERL_EPMD_ADDRESS=127.0.0.1,::1
|
||||||
|
|
||||||
# Ask process to terminate within 30 seconds, otherwise kill it
|
# Ask process to terminate within 30 seconds, otherwise kill it
|
||||||
retry="SIGTERM/30/SIGKILL/5"
|
retry="SIGTERM/30/SIGKILL/5"
|
||||||
|
@ -14,7 +14,7 @@ start_precmd="ulimit -n unlimited"
|
|||||||
pidfile="/dev/null"
|
pidfile="/dev/null"
|
||||||
|
|
||||||
pleroma_chdir="${pleroma_home}/pleroma"
|
pleroma_chdir="${pleroma_home}/pleroma"
|
||||||
pleroma_env="HOME=${pleroma_home} MIX_ENV=prod"
|
pleroma_env="HOME=${pleroma_home} MIX_ENV=prod ERL_EPMD_ADDRESS=127.0.0.1,::1"
|
||||||
|
|
||||||
check_pidfile()
|
check_pidfile()
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,7 @@ rc_check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc_start() {
|
rc_start() {
|
||||||
|
export ERL_EPMD_ADDRESS=127.0.0.1,::1
|
||||||
${rcexec} "cd pleroma; ${daemon} ${daemon_flags}"
|
${rcexec} "cd pleroma; ${daemon} ${daemon_flags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ Restart=on-failure
|
|||||||
User=pleroma
|
User=pleroma
|
||||||
; Declares that Pleroma runs in production mode.
|
; Declares that Pleroma runs in production mode.
|
||||||
Environment="MIX_ENV=prod"
|
Environment="MIX_ENV=prod"
|
||||||
|
Environment="ERL_EPMD_ADDRESS=127.0.0.1,::1"
|
||||||
|
|
||||||
; Make sure that all paths fit your installation.
|
; Make sure that all paths fit your installation.
|
||||||
; Path to the home directory of the user running the Pleroma service.
|
; Path to the home directory of the user running the Pleroma service.
|
||||||
|
Loading…
Reference in New Issue
Block a user