board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / mariadb / mysqld.service
blobcd308310c6ac4828c6cc627f347a8dd929be5994
1 [Unit]
2 Description=MySQL database server
4 [Service]
5 ExecStartPre=/bin/sh -c 'test "`ls -1 /var/lib/mysql | wc -l`" != "0" || mysql_install_db --basedir=/usr --datadir=/var/lib/mysql'
6 ExecStart=/usr/bin/mysqld_safe
7 Restart=always
8 User=mysql
9 RuntimeDirectory=mysql
10 RuntimeDirectoryMode=0755
12 [Install]
13 WantedBy=multi-user.target