summaryrefslogtreecommitdiff
path: root/other/bootstrap_serverdaemon/conf
blob: 8451d9a08e22a61ff8d5d30bd08acd18f6b87e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// ProjectTox dht bootstrap server daemon configuration file.

// Listening port.
port = 33445

// The key file is like a password, so keep it where no one can read it.
// The daemon should have permission to read/write to it.
// Remember to replace the provided example with your own path.
keys_file_path = "/home/tom/.tox_bootstrap_daemon/keys"

// The PID file written to by daemon.
// Make sure that the user who runs the daemon has permissions to write to the
// PID file.
// Remember to replace the provided example with your own path.
pid_file_path = "/home/tom/.tox_bootstrap_daemon/pid"

// Enable IPv6.
enable_ipv6 = false

// Automatically bootstrap with nodes on local area network.
enable_lan_discovery = true

// Any number of servers the daemon will bootstrap itself from.
// Remember to replace the provided example with your own server list.
// You may leave the list empty or remove "bootstrap_servers" complitely,
// in both cases this will be interpreted as if you don't want to bootstrap
// from anyone.
bootstrap_servers = (
  { // Server 1
    // Any ipv4 or ipv6, depending if `enable_ipv6` is set or not, and also
    // any US-ASCII domain name.
    address = "198.46.136.167"
    port = 33445
    public_key = "728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
  },
  { // Server 2
    address = "example.org"
    port = 33445
    public_key = "8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
  }
)