Commit 7a4019a1 authored by Christian Hesse's avatar Christian Hesse Committed by Vicențiu Ciorbaru

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).
parent 6a7d51b1
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# Inspired from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mysql-init-scripts/files/mysqld_at.service # Inspired from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mysql-init-scripts/files/mysqld_at.service
[Unit] [Unit]
Description=MariaDB @VERSION@ database server (multi-instance) Description=MariaDB @VERSION@ database server (multi-instance %I)
Documentation=man:mysqld(8) Documentation=man:mysqld(8)
Documentation=https://mariadb.com/kb/en/library/systemd/ Documentation=https://mariadb.com/kb/en/library/systemd/
After=network.target After=network.target
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment