summaryrefslogtreecommitdiff
path: root/pcr/mariadb-galera/mariadb.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-11 16:39:28 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-11 16:39:28 -0300
commit0dde92b25d275d9f94c74c9f07ad5b384426b788 (patch)
treed645bd1d78d50b4601a3e94ebd1b28a846af6992 /pcr/mariadb-galera/mariadb.service
parentf695e415a02f94a042a2b440ca85638ffa968d21 (diff)
downloadabslibre-0dde92b25d275d9f94c74c9f07ad5b384426b788.tar.gz
abslibre-0dde92b25d275d9f94c74c9f07ad5b384426b788.tar.bz2
abslibre-0dde92b25d275d9f94c74c9f07ad5b384426b788.zip
MariaDB Galera
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