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