How to start deluge after openvpn connect successfully?

General support for problems installing or using Deluge
Post Reply
Garu94
Member
Member
Posts: 14
Joined: Thu Dec 05, 2019 11:44 am

How to start deluge after openvpn connect successfully?

Post by Garu94 »

Hi,
I would like to start deluge at boot, but I would like to make it start after openvpn successfully connected to nordvpn vpn, any clue?
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: How to start deluge after openvpn connect successfully?

Post by mhertz »

Matter of taste, really...

Either just enable openvpn and deluged to start at boot, and use iptables to lock down the deluged connectivity, optionally changing deluged's systemd service file to make deluged start after openvpn. Or, set deluged to be run from the UP directive of openvpn config. There's
i
several other more "unstandard" methods, so a little hard to answer, when so many answer-variations available.

I'd suggest reading through this thread, with lots of talk and solutions in detail on this: viewtopic.php?t=49883
Garu94
Member
Member
Posts: 14
Joined: Thu Dec 05, 2019 11:44 am

Re: How to start deluge after openvpn connect successfully?

Post by Garu94 »

Thank you for the link, I will go through it as soon as I have time!
What I think I would like to do (I am still pretty new to Linux services) is to setup a service that start openvpn and another one that starts deluged only when the other has finished, but before implementing a non-working service I would like to know if there is something I need to know specific to deluged service or openvpn service, or the combination of the two.
User avatar
gderf
Seeder
Seeder
Posts: 155
Joined: Sat Jun 18, 2016 1:32 am

Re: How to start deluge after openvpn connect successfully?

Post by gderf »

There are several dockers available that have been designed to do explicitly what you are looking for.

https://www.google.com/search?sxsrf=ACY ... 17m8J83r0k
Post Reply