[Unit] Description=Prowlarr After=docker.service rtorrent.service tor.service gotify.service Requires=docker.service StartLimitIntervalSec=0 Wants=byparr.service rtorrent.service tor.service gotify.service [Service] Slice=servarr.slice Restart=always RestartSec=5s ExecStartPre=/bin/sh -c '/usr/bin/docker network create entertainment || true' ExecStartPre=/usr/bin/docker pull lscr.io/linuxserver/prowlarr:latest ExecStart=/usr/bin/docker run --name=prowlarr \ --rm \ --hostname prowlarr \ --net=entertainment \ --interactive \ --user 0:0 \ --health-cmd 'curl -f http://localhost:9696/prowlarr/api/v1/health?apikey=API_KEY || exit 1' \ --health-interval 1m \ --health-retries 3 \ --health-timeout 10s \ --health-start-period 60s \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -p 9696:9696 \ -v /mnt/swarm/docker/data/prowlarr:/config \ -v /mnt/swarm/downloads/:/downloads \ lscr.io/linuxserver/prowlarr:latest ExecStop=/usr/bin/docker stop prowlarr ExecStop=/usr/bin/docker rm -f prowlarr TimeoutSec=300 Environment=DOCKER_CONFIG=/etc/docker [Install] WantedBy=multi-user.target