Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > 3879a7459585118bf3296821932abea2 > files > 29

mariadb-10.3.17-1.mga7.src.rpm

[Unit]
Description=MySQL database server
After=syslog.target
After=network.target

[Service]
Type=notify
User=mysql
Group=mysql
NotifyAccess=main

ExecStartPre=/usr/sbin/mysqld-prepare-db-dir
ExecStart=/usr/sbin/mysqld

# mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart
PermissionsStartOnly=true

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300

# We rely on systemd, not mysqld_safe, to restart mysqld if it dies
Restart=always

[Install]
WantedBy=multi-user.target