From 660735f0ae92c1d8042aeb3f2e9b3fcacac9c1ba Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 14 Oct 2025 12:35:10 -0400 Subject: [PATCH] simplify podman jellyfin deploy --- active/podman_jellyfin/jellyfin.md | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/active/podman_jellyfin/jellyfin.md b/active/podman_jellyfin/jellyfin.md index 1981e91..cdd2693 100644 --- a/active/podman_jellyfin/jellyfin.md +++ b/active/podman_jellyfin/jellyfin.md @@ -22,24 +22,11 @@ mount -a --mkdir ### Create the jellyfin user ```bash -export JF_USER=jellyfin -useradd $JF_USER - -su -l $JF_USER -ssh-keygen -exit -cp ~/.ssh/authorized_keys /home/$JF_USER/.ssh/authorized_keys -chown $JF_USER:$JF_USER /home/$JF_USER/.ssh/authorized_keys -loginctl enable-linger $(id -u $JF_USER) -``` - -SSH into the server as jellyfin - -```bash -systemctl --user enable podman-restart -systemctl --user enable --now podman.socket -mkdir -p ~/.config/containers/systemd -mkdir jellyfin-config jellyfin-cache jellyfin-media +useradd jellyfin +loginctl enable-linger $(id -u jellyfin) +systemctl --user --machine=jellyfin@.host enable podman-restart +systemctl --user --machine=jellyfin@.host enable --now podman.socket +mkdir -p /home/jellyfin/.config/containers/systemd ``` ### Install jellyfin