Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Start Tor Service after another Service?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
dahai8
Posts: 5
Joined: 2017-04-12 01:38

Start Tor Service after another Service?

#1 Post by dahai8 »

I'm trying to get Tor to start after another service (openvpn.service), but in doing so, it just comes up "loaded, but inactive (dead)" ?
I must be doing something stupid.
Here's what I tried:

Code: Select all

sudo -s
cp   /run/systemd/generator.late/tor.service   /etc/systemd/system/tor.service
nano /etc/systemd/system/tor.service
Then added openvpn.service at the end of the After= line under the [Unit] section.
Rebooted, and Tor is just dead.
Probably a conflict between 'Before=' and 'After=' ?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Start Tor Service after another Service?

#2 Post by debiman »

please post the complete content of all systemd units relevant to your problem, and what their state currently is (enabled or not).

dahai8
Posts: 5
Joined: 2017-04-12 01:38

Re: Start Tor Service after another Service?

#3 Post by dahai8 »

Wouldn't that be like...everything??
How many levels deep do you want?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Start Tor Service after another Service?

#4 Post by debiman »

debiman wrote:content of all systemd units relevant to your problem
i meant the units' config files, i.e. usually *.service files.

and their current states, i.e.

Code: Select all

systemctl status XXX.service
systemctl is-enabled XXX.service
and since you yourself said "tor after openvpn", well those 2 surely are relevant.

Post Reply