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.
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.