From f1545fa6abc1919fb9d1147dde00c4f3dcfd267a Mon Sep 17 00:00:00 2001 From: Carl Mercier Date: Wed, 7 Dec 2016 20:29:37 -0600 Subject: [PATCH 1/3] Allow host to pass arguments to JacketConsole.exe --- root/etc/services.d/jackett/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/services.d/jackett/run b/root/etc/services.d/jackett/run index b43feea..892d9f8 100644 --- a/root/etc/services.d/jackett/run +++ b/root/etc/services.d/jackett/run @@ -1,4 +1,4 @@ #!/usr/bin/with-contenv bash exec \ - s6-setuidgid abc mono /app/Jackett/JackettConsole.exe + s6-setuidgid abc mono /app/Jackett/JackettConsole.exe $ARGS From e1de4c1208def03460e9a72326d9ecb3d50884fe Mon Sep 17 00:00:00 2001 From: Carl Mercier Date: Wed, 7 Dec 2016 20:36:18 -0600 Subject: [PATCH 2/3] Updated README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 335ad63..b2a879b 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ http://192.168.x.x:8080 would show you what's running INSIDE the container on po * `-p 9117` - the port(s) * `-v /config` - where Jackett should store its config file. * `-v /downloads` - Path to torrent blackhole +* `-e ARGS` - Optionally specify additional arguments to be passed. EG. `--ProxyConnection 10.0.0.100:1234` * `-e PGID` for GroupID - see below for explanation * `-e PUID` for UserID - see below for explanation * `-e TZ` for timezone EG. Europe/London From ad0ec2bed891255c4b75cfff77ad0f95bdc24427 Mon Sep 17 00:00:00 2001 From: Carl Mercier Date: Fri, 9 Dec 2016 17:55:19 -0500 Subject: [PATCH 3/3] Change $ARGS to $RUN_OPTS --- README.md | 2 +- root/etc/services.d/jackett/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2a879b..2ef875f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ http://192.168.x.x:8080 would show you what's running INSIDE the container on po * `-p 9117` - the port(s) * `-v /config` - where Jackett should store its config file. * `-v /downloads` - Path to torrent blackhole -* `-e ARGS` - Optionally specify additional arguments to be passed. EG. `--ProxyConnection 10.0.0.100:1234` +* `-e RUN_OPTS` - Optionally specify additional arguments to be passed. EG. `--ProxyConnection 10.0.0.100:1234` * `-e PGID` for GroupID - see below for explanation * `-e PUID` for UserID - see below for explanation * `-e TZ` for timezone EG. Europe/London diff --git a/root/etc/services.d/jackett/run b/root/etc/services.d/jackett/run index 892d9f8..53791af 100644 --- a/root/etc/services.d/jackett/run +++ b/root/etc/services.d/jackett/run @@ -1,4 +1,4 @@ #!/usr/bin/with-contenv bash exec \ - s6-setuidgid abc mono /app/Jackett/JackettConsole.exe $ARGS + s6-setuidgid abc mono /app/Jackett/JackettConsole.exe "${RUN_OPTS}"