summaryrefslogtreecommitdiff
path: root/community/percona-server/mysqld.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/percona-server/mysqld.service')
-rw-r--r--community/percona-server/mysqld.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/percona-server/mysqld.service b/community/percona-server/mysqld.service
new file mode 100644
index 000000000..3d2af276c
--- /dev/null
+++ b/community/percona-server/mysqld.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=MySQL database server
+After=syslog.target network.target
+
+[Service]
+User=mysql
+Group=mysql
+
+ExecStart=/usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid
+ExecStartPost=/usr/bin/mysqld-post
+
+Restart=always
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target