blob: d88361703daae266db203c2f411dab16f7bf778c [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001[Unit]
2Description=MariaDB database server
3After=syslog.target
4After=network.target
5
6[Service]
7PIDFile=/var/lib/mysql/mysqld.pid
8Type=simple
9User=mysql
10Group=mysql
11
12# Execute post scripts as root
13PermissionsStartOnly=true
14
15# Start main service
16ExecStart=@BINDIR@/mysqld_safe --basedir=@PREFIX@
17
18# Don't signal startup success before a ping works
19ExecStartPost=@BINDIR@/mysql-systemd-start post
20
21TimeoutSec=300
22PrivateTmp=true
23
24[Install]
25WantedBy=multi-user.target