Correction : rule_{mysql,tmpfs}_configure : socket unix.
[lhc/ateliers.git] / etc / sv / mysql / log / run
diff --git a/etc/sv/mysql/log/run b/etc/sv/mysql/log/run
new file mode 100755 (executable)
index 0000000..96866cb
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -eux
+sv=${PWD%/log}
+sv=${sv#/etc/sv/}
+eval "home=~log-$sv"
+cd "$home"
+exec chpst -u log-"$sv":log-"$sv" \
+       svlogd -v -tt "$home"