mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add support for systemd service notifications
Insert sd_notify() calls at server start and stop for integration with systemd. This allows the use of systemd service units of type "notify", which greatly simplifies the systemd configuration. Reviewed-by: Pavel Stěhule <pavel.stehule@gmail.com>
This commit is contained in:
@ -812,6 +812,22 @@ su - postgres
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-systemd</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Build with support
|
||||
for <application>systemd</application><indexterm><primary>systemd</primary></indexterm>
|
||||
service notifications. This improves integration if the server binary
|
||||
is started under <application>systemd</application> but has no impact
|
||||
otherwise; see <xref linkend="server-start"> for more
|
||||
information. <application>libsystemd</application> and the
|
||||
associated header files need to be installed to be able to use this
|
||||
option.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--without-readline</option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user