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

4 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