diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:05:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:05:42 +0000 |
commit | 2032baa561c7fefbe2605f5d6b979a295a61637d (patch) | |
tree | 2c2a2f1c92940a51ccb565c8fdc1b381a68d8bb4 /src/fs | |
parent | 0f6f7fdb0ee4172951f8cb1431d2e457a4b83716 (diff) | |
download | gnunet-2032baa561c7fefbe2605f5d6b979a295a61637d.tar.gz gnunet-2032baa561c7fefbe2605f5d6b979a295a61637d.zip |
migrating towards XDG configuration specification (#3000)
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs.conf.in | 16 | ||||
-rw-r--r-- | src/fs/test_pseudonym_data.conf | 1 |
2 files changed, 7 insertions, 10 deletions
diff --git a/src/fs/fs.conf.in b/src/fs/fs.conf.in index 2375dc7ec..bb4cae99a 100644 --- a/src/fs/fs.conf.in +++ b/src/fs/fs.conf.in | |||
@@ -1,13 +1,11 @@ | |||
1 | [fs] | 1 | [fs] |
2 | AUTOSTART = YES | 2 | AUTOSTART = YES |
3 | INDEXDB = $SERVICEHOME/fs/idxinfo.lst | 3 | INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst |
4 | RESPECT = $SERVICEHOME/fs/credit/ | 4 | RESPECT = $GNUNET_DATA_HOME/fs/credit/ |
5 | IDENTITY_DIR = $SERVICEHOME/fs/identities/ | 5 | STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/ |
6 | STATE_DIR = $SERVICEHOME/fs/persistence/ | 6 | UPDATE_DIR = $GNUNET_DATA_HOME/fs/updates/ |
7 | UPDATE_DIR = $SERVICEHOME/fs/updates/ | ||
8 | @UNIXONLY@ PORT = 2094 | 7 | @UNIXONLY@ PORT = 2094 |
9 | HOSTNAME = localhost | 8 | HOSTNAME = localhost |
10 | HOME = $SERVICEHOME | ||
11 | BINARY = gnunet-service-fs | 9 | BINARY = gnunet-service-fs |
12 | ACCEPT_FROM = 127.0.0.1; | 10 | ACCEPT_FROM = 127.0.0.1; |
13 | ACCEPT_FROM6 = ::1; | 11 | ACCEPT_FROM6 = ::1; |
@@ -24,7 +22,7 @@ CONTENT_PUSHING = YES | |||
24 | 22 | ||
25 | UNIXPATH = /tmp/gnunet-service-fs.sock | 23 | UNIXPATH = /tmp/gnunet-service-fs.sock |
26 | 24 | ||
27 | # Do we require users that want to access file-sharing to run this process | 25 | # Do we require users that want to access file-sharing to run this process |
28 | # (usually not a good idea) | 26 | # (usually not a good idea) |
29 | UNIX_MATCH_UID = NO | 27 | UNIX_MATCH_UID = NO |
30 | 28 | ||
@@ -40,7 +38,7 @@ MAX_PENDING_REQUESTS = 65536 | |||
40 | DATASTORE_QUEUE_SIZE = 1024 | 38 | DATASTORE_QUEUE_SIZE = 1024 |
41 | 39 | ||
42 | # Maximum frequency we're allowed to poll the datastore | 40 | # Maximum frequency we're allowed to poll the datastore |
43 | # for content for migration (can be used to reduce | 41 | # for content for migration (can be used to reduce |
44 | # GNUnet's disk-IO rate) | 42 | # GNUnet's disk-IO rate) |
45 | MIN_MIGRATION_DELAY = 100 ms | 43 | MIN_MIGRATION_DELAY = 100 ms |
46 | 44 | ||
@@ -65,4 +63,4 @@ BINARY = gnunet-auto-share | |||
65 | 63 | ||
66 | # Note: MUST specify path to auto-share directory and CAN specify other options | 64 | # Note: MUST specify path to auto-share directory and CAN specify other options |
67 | # to gnunet-auto-share here! | 65 | # to gnunet-auto-share here! |
68 | OPTIONS = $SERVICEHOME/fs/share/ | 66 | OPTIONS = $GNUNET_DATA_HOME/fs/share/ |
diff --git a/src/fs/test_pseudonym_data.conf b/src/fs/test_pseudonym_data.conf index 837908e51..5827721b8 100644 --- a/src/fs/test_pseudonym_data.conf +++ b/src/fs/test_pseudonym_data.conf | |||
@@ -1,6 +1,5 @@ | |||
1 | # General settings | 1 | # General settings |
2 | [fs] | 2 | [fs] |
3 | HOME = "/tmp/gnunet-pseudonym-test" | ||
4 | 3 | ||
5 | [TESTING] | 4 | [TESTING] |
6 | WEAKRANDOM = YES | 5 | WEAKRANDOM = YES |