From 684971fcc76f086fb227c440ab43db87aff3ccd9 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Fri, 14 Feb 2020 15:52:16 -0800 Subject: [PATCH] Simple script for running downloader with correct args and given channels --- downloader-simple | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 downloader-simple diff --git a/downloader-simple b/downloader-simple new file mode 100755 index 0000000..3eddf1e --- /dev/null +++ b/downloader-simple @@ -0,0 +1,8 @@ +#!/bin/bash + +ARGS=() +for arg in "$@"; do + ARGS+=("${arg}!") +done + +WUBLOADER_DISABLE_STACKSAMPLER=true python -m downloader --base-dir /srv/wubloader "${ARGS[@]}"