#! /bin/sh image=lscr.io/linuxserver/transmission:latest [ -f upgrade ] && podman pull $image && rm upgrade me=$(basename $(pwd)) podman rm $me podman run \ --name $me \ --network homelab \ --publish 51413:51413 \ --publish 51413:51413/udp \ --env PEERPORT=51413 \ --volume /srv/sys/transmission:/config \ --volume /srv/incoming:/srv/incoming \ $image