summaryrefslogtreecommitdiff
path: root/provider_base/services/hidden_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/services/hidden_service.rb')
-rw-r--r--provider_base/services/hidden_service.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/provider_base/services/hidden_service.rb b/provider_base/services/hidden_service.rb
new file mode 100644
index 00000000..50701681
--- /dev/null
+++ b/provider_base/services/hidden_service.rb
@@ -0,0 +1,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" \ No newline at end of file