diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
commit | 29c724d2a7764f83fe846b418d09540348b86983 (patch) | |
tree | dafaff8e37ba51355b22b6f38d856ae49e145006 /src/fs | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/Makefile.am | 5 | ||||
-rw-r--r-- | src/fs/fs.conf | 32 | ||||
-rw-r--r-- | src/fs/test_fs_defaults.conf | 3 |
3 files changed, 40 insertions, 0 deletions
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index 85e3a4539..3e94e9182 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -9,6 +9,11 @@ if USE_COVERAGE | |||
9 | XLIB = -lgcov | 9 | XLIB = -lgcov |
10 | endif | 10 | endif |
11 | 11 | ||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
13 | |||
14 | dist_pkgcfg_DATA = \ | ||
15 | fs.conf | ||
16 | |||
12 | 17 | ||
13 | lib_LTLIBRARIES = libgnunetfs.la | 18 | lib_LTLIBRARIES = libgnunetfs.la |
14 | 19 | ||
diff --git a/src/fs/fs.conf b/src/fs/fs.conf new file mode 100644 index 000000000..7e3fecd7b --- /dev/null +++ b/src/fs/fs.conf | |||
@@ -0,0 +1,32 @@ | |||
1 | [fs] | ||
2 | AUTOSTART = YES | ||
3 | INDEXDB = $SERVICEHOME/idxinfo.lst | ||
4 | TRUST = $SERVICEHOME/data/credit/ | ||
5 | IDENTITY_DIR = $SERVICEHOME/identities/ | ||
6 | STATE_DIR = $SERVICEHOME/persistence/ | ||
7 | UPDATE_DIR = $SERVICEHOME/updates/ | ||
8 | PORT = 2094 | ||
9 | HOSTNAME = localhost | ||
10 | HOME = $SERVICEHOME | ||
11 | CONFIG = $DEFAULTCONFIG | ||
12 | BINARY = gnunet-service-fs | ||
13 | ACCEPT_FROM = 127.0.0.1; | ||
14 | ACCEPT_FROM6 = ::1; | ||
15 | |||
16 | DELAY = YES | ||
17 | CONTENT_CACHING = YES | ||
18 | CONTENT_PUSHING = YES | ||
19 | |||
20 | UNIXPATH = /tmp/gnunet-service-fs.sock | ||
21 | UNIX_MATCH_UID = NO | ||
22 | UNIX_MATCH_GID = YES | ||
23 | # DISABLE_SOCKET_FORWARDING = NO | ||
24 | # DEBUG = YES | ||
25 | MAX_PENDING_REQUESTS = 65536 | ||
26 | # Maximum frequency we're allowed to poll the datastore | ||
27 | # for content for migration (can be used to reduce | ||
28 | # GNUnet's disk-IO rate) | ||
29 | MIN_MIGRATION_DELAY = 100 | ||
30 | EXPECTED_NEIGHBOUR_COUNT = 128 | ||
31 | |||
32 | |||
diff --git a/src/fs/test_fs_defaults.conf b/src/fs/test_fs_defaults.conf index 5e54e15ea..f71a12061 100644 --- a/src/fs/test_fs_defaults.conf +++ b/src/fs/test_fs_defaults.conf | |||
@@ -71,3 +71,6 @@ AUTOSTART = NO | |||
71 | 71 | ||
72 | [nse] | 72 | [nse] |
73 | AUTOSTART = NO | 73 | AUTOSTART = NO |
74 | |||
75 | [dv] | ||
76 | AUTOSTART = NO \ No newline at end of file | ||