summaryrefslogtreecommitdiffstats
path: root/support-files/mariadb-extra@.socket.in
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/mariadb-extra@.socket.in')
-rw-r--r--support-files/mariadb-extra@.socket.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/support-files/mariadb-extra@.socket.in b/support-files/mariadb-extra@.socket.in
new file mode 100644
index 00000000..f33344f2
--- /dev/null
+++ b/support-files/mariadb-extra@.socket.in
@@ -0,0 +1,20 @@
+
+[Unit]
+
+Description=MariaDB @VERSION@ database server (socket activation extra port multi-instance %I)
+Documentation=man:mariadbd(8)
+Documentation=https://mariadb.com/kb/en/library/systemd/
+
+[Socket]
+
+Service=mariadb@%i.service
+
+# An "extra" as a descriptor name that means treat these ListenStreams as
+# the same as an extra_port.
+# Ref: https://mariadb.com/kb/en/thread-pool-system-status-variables/#extra_port
+
+FileDescriptorName=extra
+
+ListenStream=@mariadb-extra-%I
+ListenStream=@MYSQL_UNIX_ADDR@-extra-%I
+