Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswayg committed May 10, 2018
1 parent ddff843 commit fd696d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Look at the Tor manual with all [Configuration File Options](https://www.torproj

For more detailed customisation copy `torrc` to the host and configure the desired settings:
```
### /etc/tor/torrc ###
# Port to advertise for incoming Tor connections.
# common ports are 9001, 443
ORPort 9001
Expand Down Expand Up @@ -199,7 +200,7 @@ docker-compose --version
Please use the latest Docker engine available and do not use the engine that ships with your distros repository.

### License:
- GPLv3 (c) 2018 Christian Wagner
- GPLv2 or later (c) 2018 Christian Wagner

### Guides

Expand Down
2 changes: 1 addition & 1 deletion config/torrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### /etc/torrc ###
### /etc/tor/torrc ###
# see /etc/torrc/torrc.default and https://www.torproject.org/docs/tor-manual.html.en

# Server's public IP Address (usually automatic)
Expand Down
4 changes: 2 additions & 2 deletions scripts/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chmodd() {

echo -e "\n========================================================"
# If DataDirectory, torrc or secret_id_key is mounted here,
# ownership needs to be changed to the debian-tor user
# ownership needs to be changed to the debian-tor user
chown -Rv debian-tor:debian-tor /var/lib/tor
# fix permissions
chmodd 700 /var/lib/tor
Expand Down Expand Up @@ -40,7 +40,7 @@ if [ ! -e /tor-config-done ]; then
echo -e "\nContactInfo ${CONTACT_EMAIL}" >> /etc/tor/torrc
fi
fi

fi

echo -e "\n========================================================"
Expand Down
2 changes: 1 addition & 1 deletion tests/config/torrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### /etc/torrc ###
### /etc/tor/torrc ###
## This configuration is used for testing within Travis

# Server's public IP Address (usually automatic)
Expand Down

0 comments on commit fd696d8

Please sign in to comment.