commit: 2651058fa4a375db723f587725ccd87539681299
parent 254b31bf1caee1f3ad1407e477ea7c304c8c8f3b
Author: feld <feld@feld.me>
Date: Tue, 1 Apr 2025 03:21:30 +0000
Merge branch 'fix-freebsd-rc' into 'develop'
Set PATH in the FreeBSD rc script to avoid failures starting the service
Closes #3367
See merge request pleroma/pleroma!4348
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/changelog.d/freebsd-rc.fix b/changelog.d/freebsd-rc.fix
@@ -0,0 +1 @@
+Set PATH in the FreeBSD rc script to avoid failures starting the service
diff --git a/installation/freebsd/rc.d/pleroma b/installation/freebsd/rc.d/pleroma
@@ -24,4 +24,6 @@ command=/usr/local/bin/elixir
command_args="--erl \"-detached\" -S /usr/local/bin/mix phx.server"
procname="*beam.smp"
+PATH="${PATH}:/usr/local/sbin:/usr/local/bin"
+
run_rc_command "$1"