mirror of
https://github.com/MariaDB/server.git
synced 2026-04-19 14:55:32 +02:00
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.
This commit is contained in:
parent
e309477815
commit
9fa3f51f59
4 changed files with 12 additions and 2 deletions
|
|
@ -5,6 +5,9 @@ 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
|
||||
|
|
@ -17,4 +20,3 @@ FileDescriptorName=extra
|
|||
|
||||
ListenStream=@mariadb-extra
|
||||
ListenStream=@MYSQL_UNIX_ADDR@-extra
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ Description=MariaDB @VERSION@ database server (socket activation extra port mult
|
|||
Documentation=man:mariadbd(8)
|
||||
Documentation=https://mariadb.com/kb/en/library/systemd/
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
||||
[Socket]
|
||||
|
||||
Service=mariadb@%i.service
|
||||
|
|
@ -17,4 +20,3 @@ FileDescriptorName=extra
|
|||
|
||||
ListenStream=@mariadb-extra-%I
|
||||
ListenStream=@MYSQL_UNIX_ADDR@-extra-%I
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ Description=MariaDB @VERSION@ database server (socket activation)
|
|||
Documentation=man:mariadbd(8)
|
||||
Documentation=https://mariadb.com/kb/en/library/systemd/
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
||||
[Socket]
|
||||
|
||||
##############################################################################
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ Description=MariaDB @VERSION@ database server (socket activation multi-instance
|
|||
Documentation=man:mariadbd(8)
|
||||
Documentation=https://mariadb.com/kb/en/library/systemd/
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
||||
[Socket]
|
||||
|
||||
##############################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue