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
adae6f3
..
05370f0
100755
(executable)
--- a/
etc/init.d/tmpfs
+++ b/
etc/init.d/tmpfs
@@
-55,6
+55,11
@@
do_start() {
/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