Yesterday, 04:42 PM
(This post was last modified: Yesterday, 04:43 PM by byron8899. Edited 1 time in total.)
Hi, I just joined the jellyfin forum.
I am currently following the guide on how to run Jellyfin in systemd in podman.
https://jellyfin.org/docs/general/instal...hod=podman
If I do the podman run, it's fine, but I shutdown my server during nighttime, so I want to put jellyfin in systemd.
The part I got stuck is to be able to mount in quadlets.
When I run those commands
systemctl --user daemon-reload
systemctl --user start jellyfin
I got this error,
[jellyfin@example ~]$ systemctl --user start jellyfin
Job for jellyfin.service failed because the control process exited with error code.
See "systemctl --user status jellyfin.service" and "journalctl --user -xeu jellyfin.service" for details.
[jellyfin@example ~]$
I then tried to run journalctl --user -xeu jellyfin.service, but because jellyfin is in rootless container, I can't figure out how to run it in machinectl.
Anyone have any ideas?
Thanks
I am currently following the guide on how to run Jellyfin in systemd in podman.
https://jellyfin.org/docs/general/instal...hod=podman
If I do the podman run, it's fine, but I shutdown my server during nighttime, so I want to put jellyfin in systemd.
The part I got stuck is to be able to mount in quadlets.
Code:
[Unit]
Description=jellyfin
[Container]
Image=docker.io/jellyfin/jellyfin:latest
AutoUpdate=registry
PublishPort=8096:8096/tcp
UserNS=keep-id
#SecurityLabelDisable=true # Only needed for older versions of container-selinux < 2.226
AddDevice=/dev/dri/:/dev/dri/
Volume=jellyfin-config:/config:Z
Volume=jellyfin-cache:/cache:Z
Volume=/media/FastHD:/home/jellyfin/test:ro,z (<---- this is the part I got stuck and can't figure out what when wrong)
[Service]
# Inform systemd of additional exit status
SuccessExitStatus=0 143
[Install]
# Start by default on boot
WantedBy=default.target
When I run those commands
systemctl --user daemon-reload
systemctl --user start jellyfin
I got this error,
[jellyfin@example ~]$ systemctl --user start jellyfin
Job for jellyfin.service failed because the control process exited with error code.
See "systemctl --user status jellyfin.service" and "journalctl --user -xeu jellyfin.service" for details.
[jellyfin@example ~]$
I then tried to run journalctl --user -xeu jellyfin.service, but because jellyfin is in rootless container, I can't figure out how to run it in machinectl.
Anyone have any ideas?
Thanks