e278d17f987a68bf39447315a258109eb5c3ea38
3 local hint
="run before: ./vm_remote runit_configure nginx -- $site"
4 assert
"sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint
5 sudo
install -m 664 -o www
-g www \
6 "$tool"/var
/pub
/x509
/git.heureux-cyclage.org
/crt
+ca.pem \
7 /etc
/nginx
/x509.d
/"$site"/crt.pem
9 sudo
rmdir ~www-data
/"$site" || true
10 sudo
ln -fns "${site%-tls}" ~www-data
/"$site"