X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Flocal.sh;h=beebcd3fec8f09b0112753e56fcde39d853ba57a;hp=9ec7bdb04fe3c1d0994482c9c9e3245a232cb667;hb=de3ffef0e46f7d9064a21eab0e73693975f3c182;hpb=9075978ae94310fa7a27d9881d3cecc6150ca3e9 diff --git a/etc/nginx/site.d/lhc-remorque/local.sh b/etc/nginx/site.d/lhc-remorque/local.sh index 9ec7bdb..beebcd3 100644 --- a/etc/nginx/site.d/lhc-remorque/local.sh +++ b/etc/nginx/site.d/lhc-remorque/local.sh @@ -13,14 +13,14 @@ sudo install -m 664 -o www -g www \ --disabled-login \ --disabled-password \ --group \ - --home /home/www/pub/"$site" \ + --home /home/www/data/"$site" \ --shell /bin/false \ --system "$tool"/local/adduser www-"$site" \ --disabled-login \ --disabled-password \ --group \ - --home /home/www/pub/"$site" \ + --home /home/www/data/"$site" \ --shell /bin/false \ --system sudo adduser fcgi-"$site" www-"$site" @@ -70,7 +70,7 @@ sudo install -m 400 -o wiki-"$site" -g wiki-"$site" \ /home/lhc/var/ikiwiki/remorque/etc/ikiwiki.setup sudo adduser wiki-"$site" www-"$site" sudo install -d -m 2770 -o wiki-"$site" -g fcgi-"$site" \ - /home/www/pub/"$site"/cgi + /home/www/data/"$site"/cgi cd / sudo -u wiki-"$site" ikiwiki \ --verbose \