UTorrent
Jump to navigation
Jump to search
utorrent.conf
ut_webui_port: 8080 uconnect_enable: 1 uconnect_username: username uconnect_password: password dir_active: /var/local/storage/torrents/.utorrent_transfers dir_completed: /var/local/storage/torrents/username dir_download: /var/local/storage/torrents/.utorrent_downloading upnp: false natpmp: false dht: false pex: false admin_name: admin admin_password: password bind_port: highportnumber max_ul_rate: 400 max_dl_rate: 1300
Apache Config
Enable masked URL for easier viewing /etc/apache2/conf.d/utorrent.conf
ProxyRequests off ProxyPass /files2/ http://127.0.0.1:8081/
<Location /files2> ProxyPassReverse / SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 </Location>
View it with http://URL/files2/gui/
Startup Script
# !/bin/sh
# utorrent server
case "$1" in
start)
# Startup utorrent servers.
cd /opt/utorrent-server-v3_0/
exec su root -c "/opt/utorrent-server-v3_0/utserver -LOGFILE -daemon"
;;
stop)
killall utserver
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0