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() {