aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore.conf.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-13 17:04:35 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-13 17:04:35 +0000
commitf491ac4fab469421986f77df0bbf79fefc417786 (patch)
tree1a99677ca3fc3489d6a0dd91443cc9a83bfcea74 /src/datastore/datastore.conf.in
parent85f65a86a9ea908907a89ce7862768b90ca9d084 (diff)
downloadgnunet-f491ac4fab469421986f77df0bbf79fefc417786.tar.gz
gnunet-f491ac4fab469421986f77df0bbf79fefc417786.zip
change default configurations on systems with UNIX domain sockets to NOT specify any port for TCP-based IPC (and interpret that as no TCP-based IPC desired), as we can and want to use UNIX domain sockets in this case by default
Diffstat (limited to 'src/datastore/datastore.conf.in')
-rw-r--r--src/datastore/datastore.conf.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/datastore/datastore.conf.in b/src/datastore/datastore.conf.in
new file mode 100644
index 000000000..837c619c2
--- /dev/null
+++ b/src/datastore/datastore.conf.in
@@ -0,0 +1,33 @@
1[datastore]
2AUTOSTART = YES
3UNIXPATH = /tmp/gnunet-service-datastore.sock
4UNIX_MATCH_UID = YES
5UNIX_MATCH_GID = YES
6@UNIXONLY@ PORT = 2093
7HOSTNAME = localhost
8HOME = $SERVICEHOME
9CONFIG = $DEFAULTCONFIG
10BINARY = gnunet-service-datastore
11ACCEPT_FROM = 127.0.0.1;
12ACCEPT_FROM6 = ::1;
13QUOTA = 100 MB
14BLOOMFILTER = $SERVICEHOME/datastore/bloomfilter
15DATABASE = sqlite
16# DISABLE_SOCKET_FORWARDING = NO
17
18[datastore-sqlite]
19FILENAME = $SERVICEHOME/datastore/sqlite.db
20
21[datastore-postgres]
22CONFIG = connect_timeout=10; dbname=gnunet
23
24[datastore-mysql]
25DATABASE = gnunet
26CONFIG = ~/.my.cnf
27# USER = gnunet
28# PASSWORD =
29# HOST = localhost
30# PORT = 3306
31
32
33