media-sucker/start.sh

16 lines
327 B
Bash
Executable File

#! /bin/sh
docker run \
--name=sucker \
-d \
--restart=always \
-p 5880:8080 \
--device-cgroup-rule 'b 11:* rmw' \
-v /dev:/hdev \
-v /srv/ext/incoming/sucker:/incoming/sucker \
--cpu-shares 256 \
git.woozle.org/neale/media-sucker \
-incoming /incoming/sucker \
-drive /hdev/sr0 /hdev/sr1 /hdev/sr2