X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fagendav%2Flocal.sh;h=3ccb68cf01f505736db2bfd01adc4efbbbbd3da4;hp=2afed4a57b29ae37dc009c64a2293f7c2859dff9;hb=b75d4503ef9c919231c0c02daf5a1ed1e57c73af;hpb=4c57b350e0265cfadb9bbf95cd55ae491ee66820 diff --git a/etc/nginx/site.d/agendav/local.sh b/etc/nginx/site.d/agendav/local.sh index 2afed4a..3ccb68c 100644 --- a/etc/nginx/site.d/agendav/local.sh +++ b/etc/nginx/site.d/agendav/local.sh @@ -4,8 +4,8 @@ sudo adduser php5_"$site" postgres-data sudo adduser php5_"$site" log-php5-"$site" hint="run before: remote/runit-configure nginx -- $site" -assert "sudo test -f /etc/agendav/config.php" hint -sudo chgrp php5_$site /etc/agendav/config.php +assert "sudo test -f /etc/$site/config.php" hint +sudo chgrp php5_$site /etc/"$site"/config.php sudo sv start postgres while ! sudo -u postgres psql