diff options
Diffstat (limited to 'templates/torrc.hidden_service.erb')
-rw-r--r-- | templates/torrc.hidden_service.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/torrc.hidden_service.erb b/templates/torrc.hidden_service.erb index b9f758a..4dec0b2 100644 --- a/templates/torrc.hidden_service.erb +++ b/templates/torrc.hidden_service.erb @@ -1,6 +1,6 @@ -# hidden service <%= name %> -HiddenServiceDir <%= data_dir %>/<%= name %> -<%- for port in ports -%> +# hidden service <%= @name %> +HiddenServiceDir <%= @data_dir %>/<%= @name %> +<% @ports.each do |port| -%> HiddenServicePort <%= port %> -<%- end -%> +<% end -%> |