Skip to content

Commit

Permalink
tor: fix setup.sh, wrong directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Oct 20, 2017
1 parent 463dd0b commit 19043bb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ chown _tor:_tor /var/log/tor.log
chown _tor:_tor /var/run/tor

# create Onion service dirs:
/usr/local/opnsense/service/scripts/tor/make_hidden_service_dirs.php
/usr/local/opnsense/scripts/tor/make_hidden_service_dirs.php

# required to access the pf device for nat
/usr/sbin/pw groupmod proxy -m _tor
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ type:script_output
message:request tor status

[genkey]
command:/usr/local/opnsense/service/scripts/tor/gen_key
command:/usr/local/opnsense/scripts/tor/gen_key
parameters:
type:script_output
message:generate Tor control key

[gethostnames]
command:/usr/local/opnsense/service/scripts/tor/get_hostnames
command:/usr/local/opnsense/scripts/tor/get_hostnames
parameters:
type:script_output
message:Query hostnames of Onion services
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if helpers.exists('OPNsense.tor.general.enabled') and OPNsense.tor.general.enabled == '1' %}
tor_enable="YES"
tor_opnsense_bootup_run="/usr/local/opnsense/service/scripts/tor/setup.sh"
tor_opnsense_bootup_run="/usr/local/opnsense/scripts/tor/setup.sh"
{% else %}
tor_enable="NO"
{% endif %}

2 comments on commit 19043bb

@fichtner
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabianfrz for a perfect first tor experience without tor failing to start :D

@fabianfrz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fichtner thanks, I have added two views for diagnostics so it is possible

Please sign in to comment.