16 lines
350 B
Bash
Executable File
16 lines
350 B
Bash
Executable File
#! /bin/sh
|
|
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 \
|
|
git.woozle.org/neale/media-sucker \
|
|
-incoming /incoming/sucker \
|
|
-drive /hdev/sr0 /hdev/sr1 /hdev/sr2
|
|
|