simplify podman jellyfin deploy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user