From f60a1e7d44e94824ef0b2c38f69540b14cb3693e Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Mon, 31 Mar 2025 20:17:18 -0700 Subject: [PATCH] Set PATH in the FreeBSD rc script to avoid failures starting the service --- changelog.d/freebsd-rc.fix | 1 + installation/freebsd/rc.d/pleroma | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog.d/freebsd-rc.fix diff --git a/changelog.d/freebsd-rc.fix b/changelog.d/freebsd-rc.fix new file mode 100644 index 000000000..1f59d4596 --- /dev/null +++ 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 index f62aef18d..149b40838 100755 --- 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"