Files
docker-deployment/build/scripts/btsync.sh
Rik Veenboer a307062d5b Import some files and transform to working containers for:
* mysql
* lighttpd (with php and mysql)
* transmission
* sabnzbd
* sickbeard
* couchpotato
* headphones
* btsync
2015-01-14 15:17:36 +00:00

18 lines
373 B
Bash

#!/bin/bash
set -e
source /build/config
set -x
## Configuration
export_env BTSYNC_CONFIG /host/etc/btsync.conf
export_env BTSYNC_DATA /host/var/btsync
## BTsync
cd opt
wget -O btsync.tar.gz http://download-lb.utorrent.com/endpoint/btsync/os/linux-x64/track/stable
tar xzf btsync.tar.gz
## Remove installation files
if [ $MODE == "minimal" ]; then
rm btsync.tar.gz
fi