Article 6QR57 A script to reset the Tor service

A script to reset the Tor service

by
Jason.nix
from LinuxQuestions.org on (#6QR57)
Hello,
I want to write a script to reset the Tor service (systemctl restart tor). After 1 hour, this script checks the "/var/log/tor/notices.log" file for the statement "[notice] Bootstrapped 100% (done): Done" and if it does not find the desired statement, it resets the service again.
Any idea?

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments