diff options
Diffstat (limited to 'src/service/namestore/namestore.conf.in')
-rw-r--r-- | src/service/namestore/namestore.conf.in | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/service/namestore/namestore.conf.in b/src/service/namestore/namestore.conf.in new file mode 100644 index 000000000..d817f3f95 --- /dev/null +++ b/src/service/namestore/namestore.conf.in | |||
@@ -0,0 +1,47 @@ | |||
1 | [namestore] | ||
2 | START_ON_DEMAND = @START_ON_DEMAND@ | ||
3 | RUN_PER_USER = YES | ||
4 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock | ||
5 | UNIX_MATCH_UID = NO | ||
6 | UNIX_MATCH_GID = YES | ||
7 | @UNIXONLY@ PORT = 2099 | ||
8 | HOSTNAME = localhost | ||
9 | BINARY = gnunet-service-namestore | ||
10 | ACCEPT_FROM = 127.0.0.1; | ||
11 | ACCEPT_FROM6 = ::1; | ||
12 | |||
13 | # Which database should we use? | ||
14 | DATABASE = sqlite | ||
15 | |||
16 | # Should we optimize publishing record by caching the mapping | ||
17 | # from zone private keys to zone public keys in memory? | ||
18 | # (Set to NO if totally paranoid about keeping private keys | ||
19 | # in RAM longer than necessary.) | ||
20 | CACHE_KEYS = YES | ||
21 | |||
22 | |||
23 | [namestore-sqlite] | ||
24 | INIT_ON_CONNECT = YES | ||
25 | FILENAME = $GNUNET_DATA_HOME/namestore/sqlite.db | ||
26 | |||
27 | [namestore-postgres] | ||
28 | # How to connect to the database | ||
29 | CONFIG = postgres:///gnunet | ||
30 | # Use asynchronous commit (SET synchronous_commit TO OFF). | ||
31 | ASYNC_COMMIT = NO | ||
32 | INIT_ON_CONNECT = YES | ||
33 | SQL_DIR = ${DATADIR}/sql/ | ||
34 | |||
35 | [uri] | ||
36 | gns = gnunet-namestore -e 1a -u | ||
37 | |||
38 | |||
39 | [fcfsd] | ||
40 | # Name of the fcfs registration service binary (for ARM) | ||
41 | BINARY = gnunet-namestore-fcfsd | ||
42 | START_ON_DEMAND = NO | ||
43 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fcfsd.sock | ||
44 | RELATIVE_RECORD_EXPIRATION = 7 d | ||
45 | |||
46 | # On what port does the FCFS daemon listen for HTTP clients? | ||
47 | HTTPPORT = 18080 | ||