1POSTGRESQL-NEW-SYSTEMD-UNIT(1) User Commands POSTGRESQL-NEW-SYSTEMD-UNIT(1)
2
3
4
6 postgresql-new-systemd-unit - manual page for postgresql-new-systemd-
7 unit 8.6
8
10 postgresql-new-systemd-unit --unit SYSTEMD_UNIT --datadir DATADIR
11
13 Automatically create systemd unit for PostgreSQL service.
14
15 For more info and howto/when use this script please look at the docu‐
16 mentation file /usr/share/doc/postgresql/README.rpm-dist.
17
19 --unit=UNIT_NAME
20 The name of new systemdunit, of form postgresql@<string>, will
21 generate service file postgresql@<string>.service.
22
23 --datadir=DATADIR
24 Where the data will be stored. The postgres user needs to have
25 permissions to create this directory.
26
27 Built against PostgreSQL version 13.4.
28
29
30
31postgresql-new-systemd-unit 8.6 November 2021 POSTGRESQL-NEW-SYSTEMD-UNIT(1)