.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.6.
.TH POSTGRESQL-NEW-SYSTEMD-UNIT "1" "February 2024" "postgresql-new-systemd-unit 8.7" "User Commands"
.SH NAME
postgresql-new-systemd-unit \- manual page for postgresql-new-systemd-unit 8.7
.SH SYNOPSIS
.B postgresql-new-systemd-unit
\fI\,--unit SYSTEMD_UNIT --datadir DATADIR\/\fR
.SH DESCRIPTION
Automatically create systemd unit for PostgreSQL service.
.PP
For more info and howto/when use this script please look at the documentation
file \fI\,/usr/share/doc/postgresql/README.rpm\-dist\/\fP.
.SH OPTIONS
.TP
\fB\-\-unit\fR=\fI\,UNIT_NAME\/\fR
The name of new systemdunit, of form
postgresql@<string>, will generate service file
postgresql@<string>.service.
.TP
\fB\-\-datadir\fR=\fI\,DATADIR\/\fR
Where the data will be stored.  The postgres
user needs to have permissions to create this
directory.
.PP
Built against PostgreSQL version 10.23.
