#! /bin/sh image=git.woozle.org/neale/media-sucker [ -f upgrade ] && podman pull $image && rm upgrade me=$(basename $(pwd)) podman rm $me podman run \ --name=$me \ --device-cgroup-rule 'b 11:* rmw' \ --network homelab \ -v /dev:/hdev \ -v /srv/incoming/sucker:/incoming/sucker \ --cpu-shares 256 \ --user 911:19 \ $image \ -incoming /incoming/sucker \ -drive /hdev/sr0 /hdev/sr1 /hdev/sr2