aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore.conf.in
diff options
context:
space:
mode:
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 0000000..837c619
--- /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
+
+
+