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 : etc/init.d/tmpfs -> etc/sv/*/run .
[lhc/ateliers.git]
/
etc
/
sv
/
mysql
/
run
diff --git
a/etc/sv/mysql/run
b/etc/sv/mysql/run
index
6a4b625
..
84bf3b3
100755
(executable)
--- a/
etc/sv/mysql/run
+++ b/
etc/sv/mysql/run
@@
-1,6
+1,9
@@
#!/bin/sh -eux
exec 2>&1
sv=${PWD#/etc/sv/}
+install -d -m 1771 -o mysql -g mysql \
+ /run/mysqld \
+ /run/mysqld/sock
eval "home=~$sv"
exec /usr/bin/chpst \
-u "$sv":"$sv" \