2012-08-06 05:21:26 +00:00
|
|
|
[Unit]
|
|
|
|
Description=MySQL Server
|
2013-09-23 15:13:46 +00:00
|
|
|
After=syslog.target
|
2012-08-06 05:21:26 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mysql
|
2013-09-23 15:13:46 +00:00
|
|
|
Group=mysql
|
|
|
|
ExecStart=/usr/bin/mysqld --user=mysql --pid-file=/run/mysqld/mysqld.pid
|
|
|
|
ExecStartPost=/usr/bin/mysqld-post
|
2012-08-06 05:21:26 +00:00
|
|
|
Restart=always
|
2013-09-23 15:13:46 +00:00
|
|
|
PrivateTmp=yes
|
2012-08-06 05:21:26 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|