summaryrefslogtreecommitdiff
path: root/provider_base/services/tor_relay.rb
blob: 7fce6ae49af47ef2c2936c5b63217a80ac48418c (plain)
1
2
3
4
5
6

if self.services.include?("tor_exit") || self.services.include?("tor_hidden_service")
  LeapCli.log :error, "service `tor_relay` is not compatible with tor_exit or tor_hidden_service (node #{self.name})."
end
apply_partial("_tor_common")
self.tor['type'] = "relay"