[Unit] Description=Autobrr After=docker.service rtorrent.service gotify.service Requires=docker.service StartLimitIntervalSec=0 Wants=rtorrent.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 ghcr.io/autobrr/autobrr:latest ExecStart=/usr/bin/docker run --name=autobrr \ --rm \ --hostname autobrr \ --net=entertainment \ --interactive \ --user 0:0 \ -e TZ=Etc/UTC \ -p 7474:7474 \ -v /mnt/swarm/docker/data/autobrr:/config \ ghcr.io/autobrr/autobrr:latest ExecStop=/usr/bin/docker stop autobrr ExecStop=/usr/bin/docker rm -f autobrr TimeoutSec=300 Environment=DOCKER_CONFIG=/etc/docker [Install] WantedBy=multi-user.target