<div dir="ltr">This is something that I noticed quite a while ago, but forgot to report. But, since it has bitten me again today, I think it is high time I reported it.<div><br></div><div>The /etc/rc.d/rc.jellyfin file contains (among other things) the following function:</div><div><br></div><div>start() {<br>if [ -x /opt/jellyfin/jellyfin/jellyfin ]; then<br>        if [ "$USER" = "" ]; then<br>                echo "Starting Jellyfin Media Server"<br>                /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid<br>-- \<br>                /opt/jellyfin/jellyfin/jellyfin \<br>                -d $DATADIR \<br>                -C $CACHEDIR \<br>                -c $CONFIGDIR \<br>                -l $LOGDIR<br>        else<br>                echo "Starting Jellyfin Media Server"<br>                /usr/bin/daemon --name=jellyfin --pidfile=/var/run/jellyfin.pid<br>-- \<br>                /opt/jellyfin/jellyfin/jellyfin \<br>                -d $DATADIR \<br>                -C $CACHEDIR \<br>                -c $CONFIGDIR \<br>                -l $LOGDIR \<br>                -u $USER:$GROUP<br>        fi<br>fi<br>}<br></div><div><br></div><div>When I launch this by hand from the command line as </div><div><br></div><div>   # /etc/rc.d/rc.jellyfin start</div><div><br></div><div>USER is set to root, and therefore the else block of the conditional. When this happens the Jellyfin daemon won't start. Even more. nothing appears in its log file as a result. I notice that GROUP is not set, but setting to it root by hand makes no difference.</div><div><br></div><div>The only way I have been able to get the Jellyfin daemon to start is to remove that -u $USER:GROUP line - effectively rendering the conditional useless. I am not aware of any tweaks to my Jellyfin or root environments that could account for this, and I have no clue why things don't work for me with that -u line.</div></div>