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
Correction : vm_{hosted,remote} : chemins et noms .
[lhc/ateliers.git]
/
etc
/
init.d
/
tmpfs
diff --git
a/etc/init.d/tmpfs
b/etc/init.d/tmpfs
index
3a9915c
..
fff6f88
100755
(executable)
--- a/
etc/init.d/tmpfs
+++ b/
etc/init.d/tmpfs
@@
-27,19
+27,27
@@
do_start() {
if mountpoint -q /run/shm &&
test -f /run/shm/.tmpfs
then
if mountpoint -q /run/shm &&
test -f /run/shm/.tmpfs
then
+ set -x
sudo install -d -m 1777 -o root -g root \
sudo install -d -m 1777 -o root -g root \
- /run/shm/cache
+ /run/shm/cache \
+ /run/shm/tmp
- ! getent passwd www-data ||
- sudo install -d -m
66
0 -o www-data -g www-data \
+ ! getent passwd www-data
>/dev/null
||
+ sudo install -d -m
77
0 -o www-data -g www-data \
/run/shm/cache/nginx \
/run/shm/cache/nginx/fastcgi \
/run/shm/cache/nginx/client_body
/run/shm/cache/nginx \
/run/shm/cache/nginx/fastcgi \
/run/shm/cache/nginx/client_body
- ! getent passwd php5 ||
- sudo install -d -m 1667 -o php5 -g php5 \
+ ! getent passwd php5 >/dev/null ||
+ sudo install -d -m 1771 -o php5 -g php5 \
+ /run/php5 \
+ /run/php5/fpm \
/run/shm/cache/php5 \
/run/shm/cache/php5/fpm
/run/shm/cache/php5 \
/run/shm/cache/php5/fpm
+
+ ! getent passwd gitweb >/dev/null ||
+ sudo install -d -m 770 -o gitweb -g gitweb \
+ /run/tmp/gitweb
fi
ES=$?
fi
ES=$?