Skip to content

Commit b9823af

Browse files
committed
Use upstream default for DB path
Following the principle of least surpise, using a path matching the upstream docs[1] is likely to cause least confusion. Given not many people are using this container, it seems OK to make this breaking change. [1] https://github.com/latchset/tang/blob/b088c37a65a03c31223e64a5fcd47fb458244979/doc/tang.8.adoc Fixes #2.
1 parent c49f5ab commit b9823af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

root/usr/bin/tangd-entrypoint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ set -e
33

44
TANG_LISTEN_PORT=${TANG_LISTEN_PORT:-80}
55

6-
mkdir -p /var/db/tang /var/cache/tang
6+
mkdir -p /var/db/tang
77

8-
socat tcp-l:$TANG_LISTEN_PORT,reuseaddr,fork exec:"/usr/libexec/tangd /var/cache/tang"
8+
socat tcp-l:$TANG_LISTEN_PORT,reuseaddr,fork exec:"/usr/libexec/tangd /var/db/tang"

0 commit comments

Comments
 (0)