summarylogtreecommitdiffstats
path: root/mariadb.service
diff options
context:
space:
mode:
authorcosmo09202015-06-24 00:02:01 +0900
committercosmo09202015-06-24 00:02:46 +0900
commit1e3ea91e74ea024ea1679402f5d13c158793e86a (patch)
tree1e0ac17ff4a6e3d1b900424da377336bb2d7c50e /mariadb.service
downloadaur-1e3ea91e74ea024ea1679402f5d13c158793e86a.tar.gz
initial commit
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