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 : rule_{mysql,tmpfs}_configure : socket unix.
[lhc/ateliers.git]
/
etc
/
init.d
/
tmpfs
diff --git
a/etc/init.d/tmpfs
b/etc/init.d/tmpfs
index
22bc883
..
fa749ee
100755
(executable)
--- a/
etc/init.d/tmpfs
+++ b/
etc/init.d/tmpfs
@@
-50,6
+50,11
@@
do_start() {
sudo install -d -m 770 -o gitweb -g gitweb \
/run/tmp/gitweb
+ ! getent passwd mysql >/dev/null ||
+ sudo install -d -m 1771 -o mysql -g mysql \
+ /run/mysqld \
+ /run/mysqld/sock
+
sudo install -d -m 1771 -o root -g root \
/run/spawn-fcgi
fi