dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
etc/nginx/site.d/lhc-stats/local.sh
@@ -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"