initial setup

This commit is contained in:
David Claeys
2024-10-23 14:14:14 +02:00
parent b75e298506
commit ee647743dd
6 changed files with 147 additions and 1 deletions

14
start.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
for arg in "$@"; do
case "$arg" in
work-dir=*) work_dir="${arg#*=}" ;;
esac
done
cd $work_dir
echo "working dir : " $(pwd)
#scrape at startup in order to generate files on bool
plutotv-scraper --config /bin/pluto/config.json
plutotv-scraper --config /bin/pluto/config.json --port 5050