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 : rule_postgresql_configure : sécurise.
[lhc/ateliers.git]
/
etc
/
init.d
/
tmpfs
diff --git
a/etc/init.d/tmpfs
b/etc/init.d/tmpfs
index
fa749ee
..
05370f0
100755
(executable)
--- a/
etc/init.d/tmpfs
+++ b/
etc/init.d/tmpfs
@@
-46,15
+46,20
@@
do_start() {
/run/shm/cache/php5/fpm \
/run/shm/tmp/php5
/run/shm/cache/php5/fpm \
/run/shm/tmp/php5
- ! getent passwd gitweb >/dev/null ||
- sudo install -d -m
770 -o gitweb -g
gitweb \
- /run/tmp/gitweb
+ ! getent passwd
fcgi-
gitweb >/dev/null ||
+ sudo install -d -m
1771 -o fcgi-gitweb -g fcgi-
gitweb \
+ /run/
shm/
tmp/gitweb
! getent passwd mysql >/dev/null ||
sudo install -d -m 1771 -o mysql -g mysql \
/run/mysqld \
/run/mysqld/sock
! getent passwd mysql >/dev/null ||
sudo install -d -m 1771 -o mysql -g mysql \
/run/mysqld \
/run/mysqld/sock
+ ! getent passwd postgres >/dev/null ||
+ sudo install -d -m 1771 -o postgres -g postgres \
+ /run/postgresql \
+ /run/postgresql/sock
+
sudo install -d -m 1771 -o root -g root \
/run/spawn-fcgi
fi
sudo install -d -m 1771 -o root -g root \
/run/spawn-fcgi
fi