X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Flocal.sh;h=263daebf4cbb9eb307c13b2778131a745edf1205;hp=beebcd3fec8f09b0112753e56fcde39d853ba57a;hb=3ea23a03cf85542ecc1134e25e0a56cab82139f8;hpb=eac800033ee43971516bba9222e2298d25e18992 diff --git a/etc/nginx/site.d/lhc-remorque/local.sh b/etc/nginx/site.d/lhc-remorque/local.sh index beebcd3..263daeb 100644 --- a/etc/nginx/site.d/lhc-remorque/local.sh +++ b/etc/nginx/site.d/lhc-remorque/local.sh @@ -36,7 +36,7 @@ sudo install -d -m 3771 -o git -g git \ sudo install -d -m 750 -o wiki-"$site" -g git \ /home/git/hooks/lhc/remorque sudo install -m 771 -o git -g git /dev/stdin \ - /home/git/pub/lhc/remorque.git/hooks/post-update <<-EOF + /home/git/data/lhc/remorque.git/hooks/post-update <<-EOF #!/bin/sh -efux # The cd below is why we must use this script. @@ -83,26 +83,27 @@ sudo chmod 6755 \ /home/git/hooks/lhc/remorque/post-update.ikiwiki sudo cat /etc/gitweb/gitweb.conf - <<-EOF | - \$export_ok = "lhc-remorque-export-ok"; + \$export_ok = "cyclo-wiki-export-ok"; \$favicon = "/gitweb/static/git-favicon.png"; \$home_link = "/"; \$home_link_str = 'wiki'; - \$home_text = "/etc/gitweb/lhc.home_text.html"; + \$home_text = "/etc/gitweb/cyclo.home_text.html"; \$javascript = "/gitweb/static/gitweb.js"; \$logo = "/gitweb/static/git-logo.png"; \$my_uri = "/gitweb/"; - \$projects_list = "/etc/gitweb/lhc-remorque.projects.list"; - \$site_footer = "/etc/gitweb/lhc.site_footer.html"; - \$site_header = "/etc/gitweb/lhc.site_header.html"; - \$site_name = "remorque.$local_domainname"; + \$my_url = "/gitweb/"; + \$projects_list = "/etc/gitweb/cyclo-wiki.projects.list"; + \$site_footer = "/etc/gitweb/cyclo.site_footer.html"; + \$site_header = "/etc/gitweb/cyclo.site_header.html"; + \$site_name = "wiki.cyclocoop.org"; @stylesheets = ("/gitweb/static/gitweb.css");# EOF sudo install -m 640 -o root -g fcgi-gitweb /dev/stdin \ - /etc/gitweb/lhc-remorque.conf + /etc/gitweb/cyclo-wiki.conf sudo install -m 640 -o root -g fcgi-gitweb \ - "$tool"/etc/gitweb/lhc.home_text.html \ - /etc/gitweb/lhc.home_text.html + "$tool"/etc/gitweb/cyclo.home_text.html \ + /etc/gitweb/cyclo.home_text.html sudo install -m 640 -o root -g fcgi-gitweb /dev/stdin \ - /etc/gitweb/lhc-remorque.projects.list <<-EOF - lhc/remorque.git + /etc/gitweb/cyclo-wiki.projects.list <<-EOF + cyclowiki.git EOF