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