postgresql-new-systemd-unit - Man Page

manual page for postgresql-new-systemd-unit 8.9

Synopsis

postgresql-new-systemd-unit --unit SYSTEMD_UNIT --datadir DATADIR

Description

Automatically create systemd unit for PostgreSQL service.

For more info and howto/when use this script please look at the documentation file /usr/share/doc/postgresql16/README.rpm-dist.

Options

--unit=UNIT_NAME

The name of new systemdunit, of form postgresql@<string>, will generate service file postgresql@<string>.service.

--datadir=DATADIR

Where the data will be stored.  The postgres user needs to have permissions to create this directory.

Built against PostgreSQL version 16.1.

Info

February 2024 postgresql-new-systemd-unit 8.9