Search found 3 matches

by vapulabis
Tue Nov 06, 2018 12:30 am
Forum: Plugins
Topic: Deluge and VPN
Replies: 3
Views: 4285

Re: Deluge and VPN

unfortunately attempt number one didn’t work so I had to rethink it #!/bin/bash if ! (ping -W 1 8.8.8.8 >/dev/null); then pkill deluge fi moved it to /usr/local/bin and chmod+x then crontab now reads * * * * * /usr/local/bin/stopdeluge.sh and it now works a treat, within 90 seconds of me pulling the...
by vapulabis
Mon Nov 05, 2018 8:21 pm
Forum: Plugins
Topic: Deluge and VPN
Replies: 3
Views: 4285

Re: Deluge and VPN

I created my own killswitch, I created a BASH file called killdeluge.sh and created a cron job to run it #!/bin/bash if ! (ping -q -c 1 -W 1 8.8.8.8 >/dev/null); then pkill deluge fi made the file executable (chmod 755) created a cronjob to run every minute 1 * * * * sh /Mine/MyFolder/stopdeluge.sh
by vapulabis
Sat Nov 03, 2018 1:39 pm
Forum: Plugins
Topic: Deluge and VPN
Replies: 3
Views: 4285

Deluge and VPN

Hello I have looked for a while now and unless I am blind to seeing it, I cannot find a plugin to do what I would like it to do unless someone can point me at it, my internet at the moment is dodgy dropping in and out, I use a VPN with Deluge on an old Linux laptop running Linux Mint 17 and it runs ...