How to reload this Tor daemon?

I have created another configuration file called OpenVPN under /etc/tor/ directory and loaded it via tor -f /etc/tor/OpenVPN command:

# ps aux | grep tor
root     1157005  0.2  4.7 108920 94836 ?        S    Jan31  10:03 tor -f /etc/tor/OpenVPN

I have made some changes to this file, how can I reload this Tor daemon?

Thank you.

Just send a SIGHUP to the process.

kill -HUP 1157005

Or you can use command substitution:

kill -HUP $(pidof tor)

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.