summarylogtreecommitdiffstats
path: root/mariadb.service
diff options
context:
space:
mode:
Diffstat (limited to 'mariadb.service')
-rw-r--r--mariadb.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/mariadb.service b/mariadb.service
new file mode 100644
index 00000000000..28ab26ee44d
--- /dev/null
+++ b/mariadb.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=MariaDB database server (MySQL compatibility service)
+After=syslog.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