![Ryan Coe](/assets/img/avatar_default.png)
This commit turns mysql into a virtual package, after renaming the original mysql package to oracle-mysql. This way, all existing packages that "depends on" or "select" BR2_PACKAGE_MYSQL continue to work with no modification. Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 lines
299 B
Desktop File
14 lines
299 B
Desktop File
[Unit]
|
|
Description=MySQL database server
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/sh -c 'test -d /var/mysql/mysql || mysql_install_db --user=mysql --ldata=/var/mysql'
|
|
ExecStart=/usr/bin/mysqld_safe
|
|
Restart=always
|
|
User=mysql
|
|
RuntimeDirectory=mysql
|
|
RuntimeDirectoryMode=0755
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|