simplify podman jellyfin deploy
This commit is contained in:
@@ -22,24 +22,11 @@ mount -a --mkdir
|
|||||||
### Create the jellyfin user
|
### Create the jellyfin user
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export JF_USER=jellyfin
|
useradd jellyfin
|
||||||
useradd $JF_USER
|
loginctl enable-linger $(id -u jellyfin)
|
||||||
|
systemctl --user --machine=jellyfin@.host enable podman-restart
|
||||||
su -l $JF_USER
|
systemctl --user --machine=jellyfin@.host enable --now podman.socket
|
||||||
ssh-keygen
|
mkdir -p /home/jellyfin/.config/containers/systemd
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install jellyfin
|
### Install jellyfin
|
||||||
|
|||||||
Reference in New Issue
Block a user