[Pkg-privacy-commits] [onionbalance] 107/117: Update sample OnionBalance and Tor config files
Donncha O'Cearbahill
donncha-guest at moszumanska.debian.org
Wed Dec 16 23:18:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
donncha-guest pushed a commit to branch debian/sid
in repository onionbalance.
commit e41486be0ce2aaf847406016929056b40cb7cc7c
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date: Mon Dec 14 21:08:59 2015 +0100
Update sample OnionBalance and Tor config files
Remove unimplemented auth line from the OnionBalance config file. Also
modify the Tor config files to run in daemon mode by default.
---
onionbalance/data/config.example.yaml | 10 +++++-----
onionbalance/data/torrc-instance | 2 +-
onionbalance/data/torrc-server | 3 +--
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/onionbalance/data/config.example.yaml b/onionbalance/data/config.example.yaml
index fc2905b..0401160 100644
--- a/onionbalance/data/config.example.yaml
+++ b/onionbalance/data/config.example.yaml
@@ -2,15 +2,15 @@
# ---
# Each hidden service key line should be followed be followed by a list of 0
# or more instances which contain the onion address of the load balancing
-# HS and any authentication data needed to access that HS.
+# hidden service
REFRESH_INTERVAL: 600 # How often to poll for updated descriptors
services:
- key: /path/to/private_key # 7s4hxwwifcslrus2.onion
instances:
- - address: o6ff73vmigi4oxka # srv1
- - address: nkz23ai6qesuwqhc # srv2
- auth: dCmx3qIvArbil8A0KM4KgQ== # Hidden service authentication key
+ - address: o6ff73vmigi4oxka # web1
+ - address: nkz23ai6qesuwqhc # web2
- key: /path/to/private_key.enc # dpkdeys3apjtqydk.onion
instances:
- - address: htbzowpp5cn7wj2u # srv3
+ - address: htbzowpp5cn7wj2u # irc1
+ - address: huey7aiod8dja8a3 # irc2
diff --git a/onionbalance/data/torrc-instance b/onionbalance/data/torrc-instance
index a861853..06f4732 100644
--- a/onionbalance/data/torrc-instance
+++ b/onionbalance/data/torrc-instance
@@ -9,7 +9,7 @@ DataDirectory tor-data
# CookieAuthentication 1
SocksPort 0
-# RunAsDaemon 1
+RunAsDaemon 1
# Configure each onion service instance with a unique permanent key.
# HiddenServiceDir tor-data/hidden_service/
diff --git a/onionbalance/data/torrc-server b/onionbalance/data/torrc-server
index d25edfc..f9d5d1e 100644
--- a/onionbalance/data/torrc-server
+++ b/onionbalance/data/torrc-server
@@ -9,5 +9,4 @@ ControlPort 9051
CookieAuthentication 1
SocksPort 0
-# RunAsDaemon 1
-
+RunAsDaemon 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionbalance.git
More information about the Pkg-privacy-commits
mailing list