Skip to content

topl-core-base / io.matthewnelson.topl_core_base / TorConfigFiles / Builder / hiddenServiceDir

hiddenServiceDir

fun hiddenServiceDir(directory:File): Builder (source)

Store data files for a hidden service in DIRECTORY. Every hidden service must have a separate directory. You may use this option multiple times to specify multiple services. If DIRECTORY does not exist, Tor will create it. (Note: in current versions of Tor, if DIRECTORY is a relative path, it will be relative to the current working directory of Tor instance, not to its DataDirectory. Do not rely on this behavior; it is not guaranteed to remain the same in future versions.)

Default value: $configDir/hiddenservices

Parameters

directory - hidden services directory

Return Builder