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"