mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 05:48:47 +01:00
Add jellyfin to the render and video groups for HWA
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -139,6 +139,9 @@ getent group jellyfin >/dev/null || groupadd -r jellyfin
|
||||
getent passwd jellyfin >/dev/null || \
|
||||
useradd -r -g jellyfin -d %{_sharedstatedir}/jellyfin -s /sbin/nologin \
|
||||
-c "Jellyfin default user" jellyfin
|
||||
# Add jellyfin to the render and video groups for hwa.
|
||||
[ ! -z "$(getent group render)" ] && usermod -aG render jellyfin >/dev/null 2>&1
|
||||
[ ! -z "$(getent group video)" ] && usermod -aG video jellyfin >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%post server
|
||||
|
||||
Reference in New Issue
Block a user