Search found 1 match

by jwpierce3
Mon Jul 03, 2017 2:15 pm
Forum: Support
Topic: [SOLVED] Only making deluge use vpn and vpn only
Replies: 21
Views: 67219

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

Based on the above cron script, I created a wrapper to check for tun0 existence before starting and while running. #! /bin/bash function killdeluge { while true ; do if [ "$(ifconfig | grep tun0)" == "" ]; then killall -9 deluge exit fi sleep 1 done } if ! [ "$(ifconfig | gr...

Go to advanced search