summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2022-07-05 00:17:15 +0530
committerArun Isaac2022-07-05 00:59:11 +0530
commit2031aabfa1897f867fa26ce8edf20758d755ea71 (patch)
tree8651ca7ea344e014a65fc5990619fc5bcdd08a5f /bin
parentec434ea0710e9ece9f5239c7fe2b1f965a53bea1 (diff)
downloadtissue-2031aabfa1897f867fa26ce8edf20758d755ea71.tar.gz
tissue-2031aabfa1897f867fa26ce8edf20758d755ea71.tar.lz
tissue-2031aabfa1897f867fa26ce8edf20758d755ea71.zip
web: server: Pass state directory to web server.
* tissue/web/server.scm: Import (git) and (tissue git). (handler, start-web-server): Accept path to state directory instead of to the xapian index. * bin/tissue (tissue-run-web): Pass state directory to start-web-server.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tissue b/bin/tissue
index 9f26992..789cdb8 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -263,7 +263,7 @@ Run a web search service reading configuration from CONFIG-FILE.
;; Assume current directory as default.
`(("localhost"
(indexed-repository . ,(getcwd))))))
- %xapian-index)))))
+ (assq-ref args 'state-directory))))))
;; This is a noop, since the index is built on any tissue command. It
;; exists just for the --help usage summary.