From 3e0aea537625b6a75e7ddd1cbe0c274a31af0c3e Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Mon, 16 Jul 2018 21:49:58 +0200 Subject: [PATCH] update transmission --- .dockerfunc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.dockerfunc b/.dockerfunc index 7d5349b..19cfb42 100755 --- a/.dockerfunc +++ b/.dockerfunc @@ -606,19 +606,22 @@ torbrowser() { exit 0; } - transmission() { del_stopped transmission + torrent_dir="/media/driveBay/transmission" + transmission_host="127.0.0.1:9091" docker run -d \ -v /etc/localtime:/etc/localtime:ro \ - -v $HOME/Downloads:/transmission/download \ - -v $HOME/.transmission:/transmission/config \ - -p 9091:9091 \ + -v ${torrent_dir}:/transmission/download \ + -v $HOME/.config/transmission_config:/transmission/config \ + -p ${transmission_host}:9091 \ -p 51413:51413 \ -p 51413:51413/udp \ --name transmission \ ${DOCKER_REPO_PREFIX}/transmission + + echo "started transmission at http://${transmission_host}/transmission/web/" } wireshark() {