diff options
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/init.d/pleroma | 1 | ||||
-rwxr-xr-x | installation/netbsd/rc.d/pleroma | 2 | ||||
-rwxr-xr-x | installation/openbsd/rc.d/pleromad | 1 | ||||
-rw-r--r-- | installation/pleroma.service | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/installation/init.d/pleroma b/installation/init.d/pleroma index ed50bb551..490cb57ed 100755 --- a/installation/init.d/pleroma +++ b/installation/init.d/pleroma @@ -10,6 +10,7 @@ command_background=1 export PORT=4000 export MIX_ENV=prod +export ERL_EPMD_ADDRESS=127.0.0.1,::1 # Ask process to terminate within 30 seconds, otherwise kill it retry="SIGTERM/30/SIGKILL/5" diff --git a/installation/netbsd/rc.d/pleroma b/installation/netbsd/rc.d/pleroma index 1114668ee..60124bcd8 100755 --- a/installation/netbsd/rc.d/pleroma +++ b/installation/netbsd/rc.d/pleroma @@ -14,7 +14,7 @@ start_precmd="ulimit -n unlimited" pidfile="/dev/null" 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() { diff --git a/installation/openbsd/rc.d/pleromad b/installation/openbsd/rc.d/pleromad index 19ac4bb51..5c49c4949 100755 --- a/installation/openbsd/rc.d/pleromad +++ b/installation/openbsd/rc.d/pleromad @@ -24,6 +24,7 @@ rc_check() { } rc_start() { + export ERL_EPMD_ADDRESS=127.0.0.1,::1 ${rcexec} "cd pleroma; ${daemon} ${daemon_flags}" } diff --git a/installation/pleroma.service b/installation/pleroma.service index 5dcbc1387..02d0995fd 100644 --- a/installation/pleroma.service +++ b/installation/pleroma.service @@ -11,6 +11,7 @@ Restart=on-failure User=pleroma ; Declares that Pleroma runs in production mode. Environment="MIX_ENV=prod" +Environment="ERL_EPMD_ADDRESS=127.0.0.1,::1" ; Make sure that all paths fit your installation. ; Path to the home directory of the user running the Pleroma service. |