From 28840d2f31cbe4113ec63fd9248cc93f773d1448 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 16 May 2021 11:30:41 -0500 Subject: [PATCH] Update pleroma.service for asdf --- installation/pleroma.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installation/pleroma.service b/installation/pleroma.service index 8338228d8a..811f1e1297 100644 --- a/installation/pleroma.service +++ b/installation/pleroma.service @@ -18,7 +18,8 @@ Environment="HOME=/var/lib/pleroma" ; Path to the folder containing the Pleroma installation. WorkingDirectory=/opt/pleroma ; Path to the Mix binary. -ExecStart=/usr/bin/mix phx.server +Environment="PATH=/var/lib/pleroma/.asdf/shims:/var/lib/pleroma/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +ExecStart=/var/lib/pleroma/.asdf/shims/mix phx.server ; Some security directives. ; Use private /tmp and /var/tmp folders inside a new file system namespace, which are discarded after the process stops.