summaryrefslogtreecommitdiff
path: root/tohu/amber/bin/acme
diff options
context:
space:
mode:
authorsqmon <[email protected]>2026-11-23 19:12:21 +0100
committersqmon <[email protected]>2026-11-23 19:12:21 +0100
commitd4b709c7ee6dc747c1ed705549156da12dd93b59 (patch)
treed498d0986a1ebe0edd54c76f43abfa2ef8266734 /tohu/amber/bin/acme
parent92f3c9f37a0fb7dbfe26989d666ec82c37a9eb28 (diff)
add tohu amber dots
Diffstat (limited to 'tohu/amber/bin/acme')
-rwxr-xr-xtohu/amber/bin/acme12
1 files changed, 12 insertions, 0 deletions
diff --git a/tohu/amber/bin/acme b/tohu/amber/bin/acme
new file mode 100755
index 0000000..200980f
--- /dev/null
+++ b/tohu/amber/bin/acme
@@ -0,0 +1,12 @@
+#!/bin/sh
+export PLAN9="${PLAN9:-/usr/lib/plan9}"
+case ":$PATH:" in
+ *":$PLAN9/bin:"*) ;;
+ *) export PATH="$PATH:$PLAN9/bin" ;;
+esac
+if [ -z "${NAMESPACE:-}" ]; then
+ export NAMESPACE="${XDG_RUNTIME_DIR:-/tmp/$(id -u)-runtime-dir}/p9ns"
+fi
+mkdir -p "$NAMESPACE"
+chmod 0700 "$NAMESPACE"
+exec /usr/local/libexec/acme-bin "$@"