summaryrefslogtreecommitdiff
path: root/tls/run
diff options
context:
space:
mode:
authorHayden Hamilton <hayden@hhvn.uk>2026-05-31 09:50:39 +0100
committerHayden Hamilton <hayden@hhvn.uk>2026-05-31 09:50:39 +0100
commit8c77dd7485c360f240027a33be98ff8f90a4d78b (patch)
tree3ea48d0d5ca259a48474f9df1a76f4ab898d15f2 /tls/run
parent22a4fd1d395905950fdd307b41b8b8ab4167e130 (diff)
tls/ helper scripts for acme-client
Diffstat (limited to 'tls/run')
-rwxr-xr-xtls/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/tls/run b/tls/run
new file mode 100755
index 0000000..e12ce3b
--- /dev/null
+++ b/tls/run
@@ -0,0 +1,9 @@
+#!/bin/rc
+
+domain = $1
+
+if (~ $domain ()) {
+ domain = `hostname
+}
+
+doas acme-client $domain