<div dir="ltr">Thanks. I have just tested and if the -u option is inserted between daemon and --name then it works. Would this not be something that ought to be changed in the rc.jellyfin file installed by the SlackBuilds installer?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2026 at 3:04 PM Alexander Grotewohl <<a href="mailto:alex@dcclost.com">alex@dcclost.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:Aptos,Aptos_MSFontService,-apple-system,Roboto,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(33,33,33)" dir="auto">
I emailed the maintainer of this slackbuild recently.</div>
<div style="font-family:Aptos,Aptos_MSFontService,-apple-system,Roboto,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(33,33,33)" dir="auto">
<br>
</div>
<div style="font-family:Aptos,Aptos_MSFontService,-apple-system,Roboto,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(33,33,33)" dir="auto">
-u is a parameter for "daemon" not for jellyfin. if you try to run as the user jellyfin in this case jellyfin will also need to own a directory for it's pid file and the script should be adjusted further.</div>
<div id="m_6569213337578411632ms-outlook-mobile-body-separator-line" dir="auto" style="font-family:Aptos,Aptos_MSFontService,-apple-system,Roboto,Arial,Helvetica,sans-serif;font-size:12pt">
<div style="font-family:Aptos,Aptos_MSFontService,-apple-system,Roboto,Arial,Helvetica,sans-serif;font-size:12pt">
<br>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_6569213337578411632divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> SlackBuilds-users <<a href="mailto:slackbuilds-users-bounces@slackbuilds.org" target="_blank">slackbuilds-users-bounces@slackbuilds.org</a>> on behalf of Luveh Keraph <<a href="mailto:1.41421@gmail.com" target="_blank">1.41421@gmail.com</a>><br>
<b>Sent:</b> Friday, 05 June 2026 16:17:21<br>
<b>To:</b> SlackBuilds.org Users List <<a href="mailto:slackbuilds-users@slackbuilds.org" target="_blank">slackbuilds-users@slackbuilds.org</a>><br>
<b>Subject:</b> Re: [Slackbuilds-users] Jellyfin problem</font>
<div> </div>
</div>
<div>
<div dir="ltr">I forgot to write 'is executed' at the end of 'USER is set to root, and therefore the else block of the conditional'.</div>
<br>
<div>
<div dir="ltr">On Fri, Jun 5, 2026 at 2:15 PM Luveh Keraph <<a href="mailto:1.41421@gmail.com" target="_blank">1.41421@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<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>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>