summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/soledad-server.dirs1
-rw-r--r--src/leap/soledad/server/_config.py2
-rw-r--r--testing/tests/server/test_config.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/debian/soledad-server.dirs b/debian/soledad-server.dirs
new file mode 100644
index 00000000..0819eebb
--- /dev/null
+++ b/debian/soledad-server.dirs
@@ -0,0 +1 @@
+var/lib/soledad/blobs
diff --git a/src/leap/soledad/server/_config.py b/src/leap/soledad/server/_config.py
index 3745d628..7cae1e49 100644
--- a/src/leap/soledad/server/_config.py
+++ b/src/leap/soledad/server/_config.py
@@ -31,7 +31,7 @@ CONFIG_DEFAULTS = {
'admin_netrc': '/etc/couchdb/couchdb-admin.netrc',
'batching': True,
'blobs': False,
- 'blobs_path': '/srv/leap/soledad/blobs',
+ 'blobs_path': '/var/lib/soledad/blobs',
'services_tokens_file': '/etc/soledad/incoming.tokens',
},
'database-security': {
diff --git a/testing/tests/server/test_config.py b/testing/tests/server/test_config.py
index 874682fd..2176832f 100644
--- a/testing/tests/server/test_config.py
+++ b/testing/tests/server/test_config.py
@@ -66,5 +66,5 @@ class ConfigurationParsingTest(unittest.TestCase):
'batching': False,
'blobs': False,
'services_tokens_file': '/srv/leap/soledad/auth.tokens',
- 'blobs_path': '/srv/leap/soledad/blobs'}
+ 'blobs_path': '/var/lib/soledad/blobs'}
self.assertDictEqual(expected, config['soledad-server'])