[Unit] Description=Byparr After=docker.service Requires=docker.service StartLimitIntervalSec=0 [Service] Restart=always RestartSec=5s ExecStartPre=/bin/sh -c '/usr/bin/docker network create entertainment || true' ExecStartPre=/usr/bin/docker pull ghcr.io/thephaseless/byparr:latest ExecStart=/usr/bin/docker run --name=byparr \ --rm \ --hostname byparr \ --net=entertainment \ --interactive \ -p 8191:8191 \ ghcr.io/thephaseless/byparr:latest ExecStop=/usr/bin/docker stop byparr ExecStop=/usr/bin/docker rm -f byparr TimeoutSec=300 Environment=DOCKER_CONFIG=/etc/docker [Install] WantedBy=multi-user.target