void-packages/srcpkgs/mysql/files/mysqld/run

5 lines
136 B
Bash
Executable File

#!/bin/sh
[ ! -d /run/mysqld ] && mkdir -p /run/mysqld
chown mysql:mysql /run/mysqld
exec chpst -u mysql:mysql mysqld --user=mysql 2>&1