summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2019-03-01 10:00:27 +0100
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2019-09-21 08:08:52 +0300
commit7a4019a1c7bcefceef9b6c2624c89088db3991cc (patch)
treeac05f1381243164ff8f6f1bcd08698add40dc113
parent6a7d51b1cb338081aa111f3ec774aaf4d90c994b (diff)
downloadmariadb-git-7a4019a1c7bcefceef9b6c2624c89088db3991cc.tar.gz
MDEV-19207 systemd service: add instance name in description
The unit files made systemd print: systemd[1]: Started MariaDB 10.3.13 database server (multi-instance). Let's add the instance name, so starting mariadb@foo.service makes it print: systemd[1]: Started MariaDB 10.3.13 database server (multi-instance foo).
-rw-r--r--support-files/mariadb@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mariadb@.service.in b/support-files/mariadb@.service.in
index 465a0d94c62..4838620b8cd 100644
--- a/support-files/mariadb@.service.in
+++ b/support-files/mariadb@.service.in
@@ -18,7 +18,7 @@
# Inspired from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mysql-init-scripts/files/mysqld_at.service
[Unit]
-Description=MariaDB @VERSION@ database server (multi-instance)
+Description=MariaDB @VERSION@ database server (multi-instance %I)
Documentation=man:mysqld(8)
Documentation=https://mariadb.com/kb/en/library/systemd/
After=network.target