summaryrefslogtreecommitdiff
path: root/tohu/nextstep/bin/acme
diff options
context:
space:
mode:
Diffstat (limited to 'tohu/nextstep/bin/acme')
-rwxr-xr-xtohu/nextstep/bin/acme12
1 files changed, 12 insertions, 0 deletions
diff --git a/tohu/nextstep/bin/acme b/tohu/nextstep/bin/acme
new file mode 100755
index 0000000..200980f
--- /dev/null
+++ b/tohu/nextstep/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 "$@"