Correction : vm_{hosted,remote} : chemins et noms .
[lhc/ateliers.git] / etc / sv / mysql / run
diff --git a/etc/sv/mysql/run b/etc/sv/mysql/run
new file mode 100755 (executable)
index 0000000..f8597b2
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh -efux
+exec 2>&1
+exec /usr/bin/chpst \
+ -u mysql:mysql \
+ /usr/sbin/mysqld \
+ --basedir=/usr \
+ --datadir=/home/mysql \
+ --pid-file=/var/run/mysqld/mysqld.pid \
+ --plugin-dir=/usr/lib/mysql/plugin \
+ --port=3306 \
+ --socket=/var/run/mysqld/mysqld.sock \
+ --user=mysql