dot

packages and services management
Log | Files | Refs | README

commit 38b5f81132eb2e4358ca0b4c16a8514216e810da
parent d4247cbd858ed722bc3a81ebf4af616691f6571c
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  7 Oct 2018 13:06:14 +0200

snooze-acme-client: create ditrectories

Diffstat:
Ms6/snooze-acme-client-run/run | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/s6/snooze-acme-client-run/run b/s6/snooze-acme-client-run/run @@ -8,7 +8,8 @@ s6-envdir env multisubstitute { importas DOMAIN DOMAIN } -if { mkdir -p $CHALLENGEDIR $CERTDIR } +if { mkdir -p $CHALLENGEDIR $CERTDIR /var/www/plain/${DOMAIN}/.well-known/ } +if { ln -sf ../../../acme/ /var/www/plain/${DOMAIN}/.well-known/acme-challenge } snooze -d1 acme-client -vnN -C $CHALLENGEDIR