X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Flocal.sh;h=0824349a96ac5bff34c5a0c5f7b81afd83173058;hp=410743e03d7049741a401153221b3552eb8d4847;hb=82a43a9c95892ecfa8bad1a72b490ad0bf60cd3b;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/etc/nginx/site.d/lhc-remorque/local.sh b/etc/nginx/site.d/lhc-remorque/local.sh index 410743e..0824349 100644 --- a/etc/nginx/site.d/lhc-remorque/local.sh +++ b/etc/nginx/site.d/lhc-remorque/local.sh @@ -1,5 +1,5 @@ -local hint="run before: ./vm_remote runit_configure nginx -- $site" -assert "sudo getent passwd wiki-\"$site\" >/dev/null" hint +hint="run before: remote/runit-configure nginx -- $site" +assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint assert "sudo test -f ~wiki-$site/etc/ssh/id_rsa" hint "$tool"/local/apt-get-install ikiwiki \