media-sucker/scripts/init.sh

13 lines
166 B
Bash
Raw Normal View History

2022-01-06 12:31:30 -07:00
#! /bin/sh -e
cd /incoming
mkdir -p audio video
2022-01-06 17:33:25 -07:00
busybox httpd -p 8080 -h /www
2022-01-06 12:31:30 -07:00
nice /scripts/reader.sh &
nice /scripts/encoder.sh &
2022-01-06 17:33:25 -07:00
nice /scripts/status.sh &
2022-01-06 12:31:30 -07:00
wait