Section 1 · User commands

postgresql-new-systemd-unit.1

Package: postgresql-server

POSTGRESQL-NEW-SYSTEMD-UNIT

NAME
SYNOPSIS
DESCRIPTION
OPTIONS


NAME

postgresql-new-systemd-unit − 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.10.