From f491ac4fab469421986f77df0bbf79fefc417786 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Jan 2012 17:04:35 +0000 Subject: 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 --- src/datastore/datastore.conf.in | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/datastore/datastore.conf.in (limited to 'src/datastore/datastore.conf.in') 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 @@ +[datastore] +AUTOSTART = YES +UNIXPATH = /tmp/gnunet-service-datastore.sock +UNIX_MATCH_UID = YES +UNIX_MATCH_GID = YES +@UNIXONLY@ PORT = 2093 +HOSTNAME = localhost +HOME = $SERVICEHOME +CONFIG = $DEFAULTCONFIG +BINARY = gnunet-service-datastore +ACCEPT_FROM = 127.0.0.1; +ACCEPT_FROM6 = ::1; +QUOTA = 100 MB +BLOOMFILTER = $SERVICEHOME/datastore/bloomfilter +DATABASE = sqlite +# DISABLE_SOCKET_FORWARDING = NO + +[datastore-sqlite] +FILENAME = $SERVICEHOME/datastore/sqlite.db + +[datastore-postgres] +CONFIG = connect_timeout=10; dbname=gnunet + +[datastore-mysql] +DATABASE = gnunet +CONFIG = ~/.my.cnf +# USER = gnunet +# PASSWORD = +# HOST = localhost +# PORT = 3306 + + + -- cgit v1.2.3