mariadb/support-files/mariadb-extra.socket.in
Daniel Black 9fa3f51f59 MDEV-38313 Add WantedBy=sockets.target to systemd socket definations
mariadb.socket and others need a Install section to include the
WantedBy=sockets.target. This is consistent with other socket
definations of systemd.

Thanks Mark Bolhuis for the bug report.
2026-01-07 14:58:09 +11:00

22 lines
520 B
SYSTEMD

[Unit]
Description=MariaDB @VERSION@ database server (socket activation extra port)
Documentation=man:mariadbd(8)
Documentation=https://mariadb.com/kb/en/library/systemd/
[Install]
WantedBy=sockets.target
[Socket]
Service=mariadb.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
ListenStream=@MYSQL_UNIX_ADDR@-extra