aboutsummaryrefslogtreecommitdiff
path: root/src/service/namestore/namestore.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/namestore/namestore.conf.in')
-rw-r--r--src/service/namestore/namestore.conf.in47
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]
2START_ON_DEMAND = @START_ON_DEMAND@
3RUN_PER_USER = YES
4UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
5UNIX_MATCH_UID = NO
6UNIX_MATCH_GID = YES
7@UNIXONLY@ PORT = 2099
8HOSTNAME = localhost
9BINARY = gnunet-service-namestore
10ACCEPT_FROM = 127.0.0.1;
11ACCEPT_FROM6 = ::1;
12
13# Which database should we use?
14DATABASE = 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.)
20CACHE_KEYS = YES
21
22
23[namestore-sqlite]
24INIT_ON_CONNECT = YES
25FILENAME = $GNUNET_DATA_HOME/namestore/sqlite.db
26
27[namestore-postgres]
28# How to connect to the database
29CONFIG = postgres:///gnunet
30# Use asynchronous commit (SET synchronous_commit TO OFF).
31ASYNC_COMMIT = NO
32INIT_ON_CONNECT = YES
33SQL_DIR = ${DATADIR}/sql/
34
35[uri]
36gns = gnunet-namestore -e 1a -u
37
38
39[fcfsd]
40# Name of the fcfs registration service binary (for ARM)
41BINARY = gnunet-namestore-fcfsd
42START_ON_DEMAND = NO
43UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fcfsd.sock
44RELATIVE_RECORD_EXPIRATION = 7 d
45
46# On what port does the FCFS daemon listen for HTTP clients?
47HTTPPORT = 18080