mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
Add storage_dir config field
On the [storage] section of the tahoe.cfg now there is a field 'storage_dir' where the path to the storage folder can be configured.
This commit is contained in:
committed by
Jean-Paul Calderone
parent
a1cb401f06
commit
136de7d7f7
@ -350,7 +350,8 @@ class _Client(node.Node, pollmixin.PollMixin):
|
||||
"is not listening ('tub.port=' is empty)")
|
||||
readonly = self.get_config("storage", "readonly", False, boolean=True)
|
||||
|
||||
storedir = os.path.join(self.basedir, self.STOREDIR)
|
||||
config_storedir = self.get_config("storage", "storage_dir", self.STOREDIR).decode('utf-8')
|
||||
storedir = os.path.join(self.basedir, config_storedir)
|
||||
|
||||
data = self.get_config("storage", "reserved_space", None)
|
||||
try:
|
||||
|
Reference in New Issue
Block a user