update transmission

This commit is contained in:
Frieder Schlesier 2018-07-16 21:49:58 +02:00
parent 307d93fbf4
commit 3e0aea5376
1 changed files with 7 additions and 4 deletions

View File

@ -606,19 +606,22 @@ torbrowser() {
exit 0; exit 0;
} }
transmission() { transmission() {
del_stopped transmission del_stopped transmission
torrent_dir="/media/driveBay/transmission"
transmission_host="127.0.0.1:9091"
docker run -d \ docker run -d \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
-v $HOME/Downloads:/transmission/download \ -v ${torrent_dir}:/transmission/download \
-v $HOME/.transmission:/transmission/config \ -v $HOME/.config/transmission_config:/transmission/config \
-p 9091:9091 \ -p ${transmission_host}:9091 \
-p 51413:51413 \ -p 51413:51413 \
-p 51413:51413/udp \ -p 51413:51413/udp \
--name transmission \ --name transmission \
${DOCKER_REPO_PREFIX}/transmission ${DOCKER_REPO_PREFIX}/transmission
echo "started transmission at http://${transmission_host}/transmission/web/"
} }
wireshark() { wireshark() {