2023-12-28 10:07:43 -07:00
|
|
|
#! /bin/sh
|
|
|
|
me=$(basename $(pwd))
|
|
|
|
podman rm $me
|
|
|
|
podman run \
|
|
|
|
--name=$me \
|
|
|
|
--device-cgroup-rule 'b 11:* rmw' \
|
|
|
|
--network homelab \
|
|
|
|
-v /dev:/hdev \
|
2024-11-28 13:34:56 -07:00
|
|
|
-v /srv/incoming/sucker:/incoming/sucker \
|
2023-12-28 10:07:43 -07:00
|
|
|
--cpu-shares 256 \
|
|
|
|
--user 911:19 \
|
|
|
|
git.woozle.org/neale/media-sucker \
|
|
|
|
-incoming /incoming/sucker \
|
|
|
|
-drive /hdev/sr0 /hdev/sr1 /hdev/sr2
|
|
|
|
|