Correction : vm_remote : uniformise rule_runit_configure avec vm_hosted .
[lhc/ateliers.git] / etc / nginx / site.d / lhc-remorque / configure.sh
index e8b451d..1bf5045 100644 (file)
@@ -1,4 +1,4 @@
-local hint="run vm_remote nginx_configure before"
+local hint="run before: ./vm_remote runit_configure nginx -- $site"
 assert "sudo getent passwd wiki-\"$site\" >/dev/null" hint
 assert "sudo test -f ~wiki-$site/etc/ssh/id_rsa" hint
 
@@ -30,7 +30,7 @@ sudo install -d -m 2770 -o wiki-"$site" -g wiki-"$site" \
 sudo install -d -m 2750 -o wiki-"$site" -g git \
  /home/git/hooks/lhc \
  /home/git/hooks/lhc/remorque
-sudo install -m 3771 -o git -g git /dev/stdin \
+sudo install -m 771 -o git -g git /dev/stdin \
  /home/git/pub/lhc/remorque.git/hooks/post-update <<-EOF
        #!/bin/sh -efux