dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbed3b5
)
Correction : vm_hosted : rule_www_configure .
author
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Mar 2013 14:25:10 +0000
(15:25 +0100)
committer
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Mar 2013 15:45:40 +0000
(16:45 +0100)
vm_hosted
patch
|
blob
|
history
diff --git
a/vm_hosted
b/vm_hosted
index
4e4e861
..
3247eb5
100755
(executable)
--- a/
vm_hosted
+++ b/
vm_hosted
@@
-208,7
+208,7
@@
rule_apache2_configure () {
/etc/apache2/site.d/"$site" \
/home/www/etc/apache2/"$site"
test -e /home/www/pub/"$site" ||
/etc/apache2/site.d/"$site" \
/home/www/etc/apache2/"$site"
test -e /home/www/pub/"$site" ||
- sudo install -d -m 770 -o www."$site" -g www."$site" \
+ sudo install -d -m
2
770 -o www."$site" -g www."$site" \
/home/www/pub/"$site"
getent passwd www."$site" >/dev/null ||
sudo adduser \
/home/www/pub/"$site"
getent passwd www."$site" >/dev/null ||
sudo adduser \
@@
-786,7
+786,7
@@
rule_www_configure () {
sudo install -d -m 750 -o www -g www \
/home/www/etc
sudo install -d -m 1771 -o www-data -g www-data \
sudo install -d -m 750 -o www -g www \
/home/www/etc
sudo install -d -m 1771 -o www-data -g www-data \
- /home/www/pub
\
+ /home/www/pub
sudo install -d -m 1771 -o log.www -g log.www \
/home/www/log
}
sudo install -d -m 1771 -o log.www -g log.www \
/home/www/log
}