mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +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.
27 lines
622 B
SYSTEMD
27 lines
622 B
SYSTEMD
|
|
[Unit]
|
|
Description=MariaDB @VERSION@ database server (socket activation)
|
|
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
|
|
ListenStream=@MYSQL_UNIX_ADDR@
|
|
ListenStream=@MYSQL_TCP_PORT@
|
|
|
|
# Backlog=150
|