module Spior::Tor
Public Instance Methods
restart()
click to toggle source
# File lib/spior/tor/restart.rb, line 6 def restart if TTY::Which.exist?('systemctl') Helpers::Exec.new("systemctl").run("restart tor") Msg.p "ip changed" end end