See what options a Postgresql binary was compiled with
Planning to convert a Postgres 10 instance to systemd init. I understand it
had to be compiled with systemd support to work that way.
Thanks!
Keith Christian <keith1christian@gmail.com> writes:
Planning to convert a Postgres 10 instance to systemd init. I understand it
had to be compiled with systemd support to work that way.
Try "pg_config --configure" and see if --with-systemd is mentioned.
regards, tom lane
On Wed, 2021-01-20 at 17:27 -0700, Keith Christian wrote:
Planning to convert a Postgres 10 instance to systemd init.
I understand it had to be compiled with systemd support to work that way.
That is only necessary if you want to start the service with "Type=notify".
If you start it using "Type=oneshot" and "pg_ctl" or "Type=exec" and "postgres",
you don't need the systemd callback.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com