Skip to content

Commit

Permalink
multimedia/jellyfin: export PATH so jellyfin can find ffmpeg
Browse files Browse the repository at this point in the history
PR:	277161
  • Loading branch information
mvanbaak authored and driesmp committed Mar 4, 2024
1 parent 6ce4a6b commit 76e5829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions multimedia/jellyfin/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jellyfin
DISTVERSION= 10.8.13
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://github.com/Thefrank/jellyfin-server-freebsd/releases/download/v${DISTVERSION}/
DISTFILES= jellyfin-combined_${DISTVERSION}_freebsd-${ARCH}.tar.gz \
Expand Down
2 changes: 2 additions & 0 deletions multimedia/jellyfin/files/jellyfin.in
Expand Up @@ -41,6 +41,8 @@ command="/usr/sbin/daemon"

start_precmd=${name}_precmd
jellyfin_precmd() {
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"

if [ ! -d ${jellyfin_exec_dir} ]; then
install -d -o ${jellyfin_user} -g ${jellyfin_group} ${jellyfin_exec_dir}
fi
Expand Down

0 comments on commit 76e5829

Please sign in to comment.