Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > ec3309693b009586ed68318a6f3917d8 > files > 13

mariadb-5.5.40-1.1.mga3.src.rpm

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

[Service]
Type=forking
User=mysql
Group=mysql

ExecStartPre=/usr/sbin/mysqld-prepare-db-dir
ExecStart=/usr/bin/mysqld_safe --nowatch
ExecStartPost=/usr/sbin/mysqld-wait-ready $MAINPID

# 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