Search found 5 matches

by djevlen
Fri Feb 13, 2015 7:39 am
Forum: Support
Topic: [SOLVED] Only making deluge use vpn and vpn only
Replies: 37
Views: 144531

Re: [SOLVED] Only making deluge use vpn and vpn only

yes its killing deluge as soon as tun0 is down.. The scripts are already there for you...just create an empty file called "check_tun0.sh" in the directory /usr/bin and copy/paste what i already posted above. If you find a better solution to bind iface in deluge pls share it.
by djevlen
Tue Feb 10, 2015 8:14 am
Forum: Support
Topic: [SOLVED] Only making deluge use vpn and vpn only
Replies: 37
Views: 144531

Re: [SOLVED?] Only making deluge use vpn and vpn only

hi There is a simpler solution: First add this line into root crontab */1 * * * * /usr/bin/check_tun0.sh &> /dev/null Then make a script file like this: #! /bin/bash # this is the script cron runs, it checks to see if tun0 is connected or not # if not, it kills deluge # we'll put the whole thing...
by djevlen
Thu Apr 11, 2013 6:49 pm
Forum: Support
Topic: deluge cache ? disk cache or system merory ?
Replies: 3
Views: 7389

deluge cache ? disk cache or system merory ?

What would be the optimal setting for cache and cache expiry in order to make as little disk io as possible ?

system has 2gb memory and willing to give deluge 1gb.

disk that deluge read/write to has 8mb ram

transfers are down=1MiB/s up=100KiB/s
by djevlen
Sat Mar 16, 2013 3:47 pm
Forum: Development
Topic: add this and deluge will be perfect
Replies: 5
Views: 12186

Re: add this and deluge will be perfect

yes it does. Got deluge to work exactly as i wanted to by making iptables rules for deluge. it will only download when tun0 is up. Now i don't have to use strange scripts anymore to kill deluge if vpn drops. However i had to learn iptables for that :D Although my problem is solved i still think that...
by djevlen
Fri Mar 15, 2013 5:56 pm
Forum: Development
Topic: add this and deluge will be perfect
Replies: 5
Views: 12186

add this and deluge will be perfect

Hi.. Using deluge web ui..and must say it is impressive ..however im missing 1 important feature which allow to bind to interface. Server has 3 network interfaces, one of them is VPN. It is not acceptable that deluge auto switch to other interface when one interface drops. If iface drops then downlo...