commit c803c3d098bb65516be1b766e46e444d8a8d64e3 Author: juga0 juga@riseup.net Date: Tue Jul 24 17:38:33 2018 +0000
Add runtime dir for non-persistent data --- sbws/config.default.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sbws/config.default.ini b/sbws/config.default.ini index 17e3a25..5dcc8f4 100644 --- a/sbws/config.default.ini +++ b/sbws/config.default.ini @@ -58,8 +58,12 @@ max_download_size = 1073741824
[tor] datadir = ${paths:sbws_home}/tor -control_socket = ${tor:datadir}/control_socket -log = ${tor:datadir}/log.txt +# create runtime dir for data that does not need to be persistent +run_dpath = $XDG_RUNTIME_DIR/sbws +control_socket = ${tor:run_dpath}/control +pid = ${tor:run_dpath}/tor.pid +# note this is a directory +log = ${tor:datadir}/log extra_lines =
[cleanup]