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.
26 lines
617 B
SYSTEMD
26 lines
617 B
SYSTEMD
|
|
[Unit]
|
|
Description=MariaDB @VERSION@ database server (socket activation multi-instance %I))
|
|
Documentation=man:mariadbd(8)
|
|
Documentation=https://mariadb.com/kb/en/library/systemd/
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|
|
|
|
[Socket]
|
|
|
|
##############################################################################
|
|
## USERs can override
|
|
##
|
|
##
|
|
## by creating a file in /etc/systemd/system/mariadb.socket.d/MY_SPECIAL.conf
|
|
## and adding/setting the following under [Socket] will override this file's
|
|
## settings.
|
|
|
|
SocketUser=@MYSQLD_USER@
|
|
SocketMode=777
|
|
|
|
ListenStream=@mariadb-%I
|
|
ListenStream=@MYSQL_UNIX_ADDR@-%I
|
|
|
|
# Backlog=150
|