diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-13 17:04:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-13 17:04:35 +0000 |
commit | f491ac4fab469421986f77df0bbf79fefc417786 (patch) | |
tree | 1a99677ca3fc3489d6a0dd91443cc9a83bfcea74 /src/datastore/datastore.conf.in | |
parent | 85f65a86a9ea908907a89ce7862768b90ca9d084 (diff) | |
download | gnunet-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.in | 33 |
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] | ||
2 | AUTOSTART = YES | ||
3 | UNIXPATH = /tmp/gnunet-service-datastore.sock | ||
4 | UNIX_MATCH_UID = YES | ||
5 | UNIX_MATCH_GID = YES | ||
6 | @UNIXONLY@ PORT = 2093 | ||
7 | HOSTNAME = localhost | ||
8 | HOME = $SERVICEHOME | ||
9 | CONFIG = $DEFAULTCONFIG | ||
10 | BINARY = gnunet-service-datastore | ||
11 | ACCEPT_FROM = 127.0.0.1; | ||
12 | ACCEPT_FROM6 = ::1; | ||
13 | QUOTA = 100 MB | ||
14 | BLOOMFILTER = $SERVICEHOME/datastore/bloomfilter | ||
15 | DATABASE = sqlite | ||
16 | # DISABLE_SOCKET_FORWARDING = NO | ||
17 | |||
18 | [datastore-sqlite] | ||
19 | FILENAME = $SERVICEHOME/datastore/sqlite.db | ||
20 | |||
21 | [datastore-postgres] | ||
22 | CONFIG = connect_timeout=10; dbname=gnunet | ||
23 | |||
24 | [datastore-mysql] | ||
25 | DATABASE = gnunet | ||
26 | CONFIG = ~/.my.cnf | ||
27 | # USER = gnunet | ||
28 | # PASSWORD = | ||
29 | # HOST = localhost | ||
30 | # PORT = 3306 | ||
31 | |||
32 | |||
33 | |||