Ajout : site cyclocamp.heureux-cyclage.org .
[lhc/ateliers.git] / etc / nginx / site.d / cyclocamp-www / local.sh
diff --git a/etc/nginx/site.d/cyclocamp-www/local.sh b/etc/nginx/site.d/cyclocamp-www/local.sh
new file mode 100644 (file)
index 0000000..baefaff
--- /dev/null
@@ -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"