mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
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.
22 lines
520 B
SYSTEMD
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
|