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