Keith Christian <keith1christian(at)gmail(dot)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