Skip to content

Mdev 5536 Add systemd notify and socket activation capabilities to 10.1 branch - #83

Closed
grooverdan wants to merge 17 commits into
MariaDB:10.1from
openquery:MDEV-5536-systemd-socket-activation-notification-10.1_clean
Closed

Mdev 5536 Add systemd notify and socket activation capabilities to 10.1 branch#83
grooverdan wants to merge 17 commits into
MariaDB:10.1from
openquery:MDEV-5536-systemd-socket-activation-notification-10.1_clean

Conversation

@grooverdan

Copy link
Copy Markdown
Member

from all the comments in #26 I've make a 10.1 PR here as, adding dependencies on systemd libs was problematic and socket activation was invasive.

Adds optional compile option WITH_SYSTEMD to provide system functions

Debian and Ubuntu packages include systemd libraries as dependencies

mariadb-service-convert converts the [mysqld_safe] options into an
equilivent systemd file which runs mysqld directly.

mariadb-socket-convert takes the [mysqld] network and socket options
and creates an equalivent mariadb.socket file.

System service file can be either Type=notify or a socket activation.

Compiling with systemd does not change any previous behaviour expected
of mysqld.

Development funded by Open Source Developers Club (Australia)

Adds optional compile option WITH_SYSTEMD to provide system functions

Debian and Ubuntu packages include systemd libraries as dependencies

mariadb-service-convert converts the [mysqld_safe] options into an
equilivent systemd file which runs mysqld directly.

mariadb-socket-convert takes the [mysqld] network and socket options
and creates an equalivent mariadb.socket file.

System service file can be either Type=notify or a socket activation.

Compiling with systemd does not change any previous behaviour expected
of mysqld.

Development funded by Open Source Developers Club (Australia)
Comment thread configure.cmake Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a way too paranoid check. I'd probably only check for sd-daemon.h. But up to you: I don't see anything wrong about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants