summaryrefslogtreecommitdiff
path: root/provider_base/services/tor_exit.rb
blob: bd801a3d59a444ae05efa8d5bdc1e9f31f5ec1c3 (plain)
1
2
3
4
5
6
if self.services.include?("tor_hidden_service") || self.services.include?("tor_relay")
  LeapCli.log :error, "service `tor_exit` is not compatible with tor_relay or tor_hidden_service (node #{self.name})."
  exit(1)
end
apply_partial("_tor_common")
self.tor['type'] = "exit"