X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fnginx%2Fsite.d%2Fcyclocamp-www%2Flocal.sh;fp=etc%2Fnginx%2Fsite.d%2Fcyclocamp-www%2Flocal.sh;h=baefaffbf1cf7d29316346d960ba1f9f91a6c228;hb=18013c236945db2ca16f6a19aab7e67c3dcdfd9b;hp=0000000000000000000000000000000000000000;hpb=30394f9ae2672667021d4b075569af75e020cffa;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/cyclocamp-www/local.sh b/etc/nginx/site.d/cyclocamp-www/local.sh new file mode 100644 index 0000000..baefaff --- /dev/null +++ b/etc/nginx/site.d/cyclocamp-www/local.sh @@ -0,0 +1,5 @@ +pool=cyclocamp_www +sudo adduser php5_"$pool" www-"$site" +sudo adduser www-"$site"-tls www-"$site" +"$tool"/local/mysql-user-create php5_"$pool" +"$tool"/local/mysql-database-create php5_"$pool"