Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / etc / nginx / site.d / lhc-stats / local.sh
diff --git a/etc/nginx/site.d/lhc-stats/local.sh b/etc/nginx/site.d/lhc-stats/local.sh
new file mode 100644 (file)
index 0000000..31bc2be
--- /dev/null
@@ -0,0 +1,5 @@
+pool=lhc_stats
+sudo adduser php5_"$pool" www-"$site"
+sudo adduser www-"$site"-tls www-"$site"
+~mysql/bin/createuser php5_"$pool"
+~mysql/bin/createdb   php5_"$pool"