From 9eb223531a017cca2c11a152ede197c8798b5684 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 19 Jan 2020 21:51:10 -0600 Subject: Got pleroma otp multi-instance working. --- roles/pleroma-otp/files/pleroma@.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/pleroma-otp/files') diff --git a/roles/pleroma-otp/files/pleroma@.service b/roles/pleroma-otp/files/pleroma@.service index 9de1f79..4967c63 100644 --- a/roles/pleroma-otp/files/pleroma@.service +++ b/roles/pleroma-otp/files/pleroma@.service @@ -9,8 +9,9 @@ WorkingDirectory=/opt/pleroma Environment="HOME=/opt/pleroma" Environment="PLEROMA_CONFIG_PATH=/etc/pleroma/%i.config.exs" Environment="PLUG_TMPDIR=/tmp/%i" +Environment="RELEASE_NODE=%i@127.0.0.1" -ExecStart=/opt/pleroma/bin/pleroma daemon +ExecStart=/opt/pleroma/bin/pleroma start ExecReload=/opt/pleroma/bin/pleroma stop KillMode=process -- cgit v1.2.3