28 lines
675 B
SYSTEMD
28 lines
675 B
SYSTEMD
|
[Unit]
|
||
|
Description=Podman container-jellyseerr.service
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||
|
Restart=on-failure
|
||
|
TimeoutStopSec=70
|
||
|
ExecStartPre=/bin/rm -f %t/%n.ctr-id
|
||
|
ExecStart=/usr/bin/podman run \
|
||
|
--cidfile=%t/%n.ctr-id \
|
||
|
--cgroups=no-conmon \
|
||
|
--rm \
|
||
|
--sdnotify=conmon \
|
||
|
--name=jellyseerr \
|
||
|
-e TZ=Europe/Brussels \
|
||
|
-p 5055:5055 \
|
||
|
-v jellyseerr-config:/app/config:z \
|
||
|
docker.io/fallenbagel/jellyseerr:latest
|
||
|
ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id
|
||
|
ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id
|
||
|
Type=notify
|
||
|
NotifyAccess=all
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|