Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
23e33709
Commit
23e33709
authored
May 25, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack jellyfin-server: fix warning with redefine command in sudoers
parent
ae0e1232
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
jellyfin-server.sh
play.d/jellyfin-server.sh
+2
-3
jellyfin-server.sh
repack.d/jellyfin-server.sh
+5
-1
No files found.
play.d/jellyfin-server.sh
View file @
23e33709
...
@@ -14,7 +14,7 @@ arch=$(epm print info -a)
...
@@ -14,7 +14,7 @@ arch=$(epm print info -a)
PKGURL
=
$(
eget
--list
--latest
"https://download1.rpmfusion.org/free/fedora/releases/42/Everything/
$arch
/os/Packages/j/"
"jellyfin-server*
$arch
.rpm"
)
PKGURL
=
$(
eget
--list
--latest
"https://download1.rpmfusion.org/free/fedora/releases/42/Everything/
$arch
/os/Packages/j/"
"jellyfin-server*
$arch
.rpm"
)
install_pkgurl
install_pkgurl
||
exit
echo
"Note: You also need to install jellyfin-web using the command:
echo
"Note: You also need to install jellyfin-web using the command:
# epm play jellyfin-web
# epm play jellyfin-web
...
@@ -22,4 +22,4 @@ or change the parameter in /etc/sysconfig/jellyfin:
...
@@ -22,4 +22,4 @@ or change the parameter in /etc/sysconfig/jellyfin:
JELLYFIN_WEB_OPT=
\"
--webdir=/opt/jellyfin-web
\"
to JELLYFIN_WEB_OPT=
\"
--nowebclient
\"
JELLYFIN_WEB_OPT=
\"
--webdir=/opt/jellyfin-web
\"
to JELLYFIN_WEB_OPT=
\"
--nowebclient
\"
Warning: Configuration files are stored in /var/lib/jellyfin due to the specifics of the original jellyfin package build.
Warning: Configuration files are stored in /var/lib/jellyfin due to the specifics of the original jellyfin package build.
"
"
\ No newline at end of file
repack.d/jellyfin-server.sh
View file @
23e33709
...
@@ -6,7 +6,7 @@ SPEC="$2"
...
@@ -6,7 +6,7 @@ SPEC="$2"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
move_to_opt /usr/lib64/jellyfin
move_to_opt /usr/lib64/jellyfin
#wrong link; remake
#wrong link; remake
remove_file /opt/jellyfin-server/jellyfin-web
remove_file /opt/jellyfin-server/jellyfin-web
...
@@ -22,6 +22,10 @@ subst 's|JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin-web"|JELLYFIN_WEB_OPT="-
...
@@ -22,6 +22,10 @@ subst 's|JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin-web"|JELLYFIN_WEB_OPT="-
# because it runs as the jellyfin user, not root
# because it runs as the jellyfin user, not root
subst
's|JELLYFIN_CONFIG_DIR="/etc/jellyfin"|JELLYFIN_CONFIG_DIR="/var/lib/jellyfin"|'
$BUILDROOT
/etc/sysconfig/jellyfin
subst
's|JELLYFIN_CONFIG_DIR="/etc/jellyfin"|JELLYFIN_CONFIG_DIR="/var/lib/jellyfin"|'
$BUILDROOT
/etc/sysconfig/jellyfin
# /etc/sudoers.d/jellyfin-sudoers:4:95: duplicate Cmnd_Alias "STOPSERVER_SYSTEMD", previously defined at /etc/sudoers.d/jellyfin-sudoers:4:12
# Cmnd_Alias STOPSERVER_SYSTEMD = /usr/bin/systemctl stop jellyfin, /bin/systemctl stop jellyfin
subst
's|, /bin/systemctl.*||'
$BUILDROOT
/etc/sudoers.d/jellyfin-sudoers
# This is required for ALT systems
# This is required for ALT systems
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
echo
DOTNET_ROOT
=
/usr/lib64/dotnet
>>
$BUILDROOT
/etc/sysconfig/jellyfin
echo
DOTNET_ROOT
=
/usr/lib64/dotnet
>>
$BUILDROOT
/etc/sysconfig/jellyfin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment