X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-www-tls%2Flocal.sh;h=be4604c18acc66794bece57a3d94f838a20892cf;hp=5fc0ce122850a1cf9106110578fa9b19f0400580;hb=a11ad78672a096632b15a660509d7dd5f7c5eae5;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/etc/nginx/site.d/lhc-www-tls/local.sh b/etc/nginx/site.d/lhc-www-tls/local.sh index 5fc0ce1..be4604c 100644 --- a/etc/nginx/site.d/lhc-www-tls/local.sh +++ b/etc/nginx/site.d/lhc-www-tls/local.sh @@ -1,7 +1,6 @@ -#!/bin/sh -set -e -f -u -x -local hint="run before: ./vm_remote runit_configure nginx -- $site" +hint="run before: remote/runit-configure nginx -- $site" assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint + sudo install -m 664 -o www -g www \ "$tool"/var/pub/x509/www.heureux-cyclage.org/crt+ca.pem \ /etc/nginx/x509.d/"$site"/crt.pem