This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
Environment="PGDATA=/var/lib/postgresql/14" -
Environment=PGROOT=/var/lib/postgres -
Environment=PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data -
EnvironmentFile=-/etc/sysconfig/postgresql -
ExecReload=/bin/kill -HUP $MAINPID -
ExecReload=/bin/kill -HUP ${MAINPID} -
ExecReload=/bin/true -
ExecReload=/usr/bin/kill -HUP $MAINPID -
ExecReload=/usr/share/postgresql/postgresql-script reload -
ExecStart=/bin/true -
ExecStart=/usr/bin/postgres -
ExecStart=/usr/bin/postgres -D ${PGROOT}/data -
ExecStart=/usr/bin/postmaster -D ${PGDATA} -
ExecStart=/usr/share/postgresql/postgresql-script start -
ExecStartPost=/usr/bin/postgresql-post-start -
ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data -
ExecStartPre=/usr/bin/postgresql-pre-start -
ExecStartPre=/usr/libexec/postgresql-check-db-dir %N -
ExecStop=/usr/share/postgresql/postgresql-script stop -
Group=postgres -
KillMode=mixed -
KillSignal=SIGINT -
NoNewPrivilegesIntroduced in systemd 239=yes -
OOMScoreAdjust=-1000 -
OOMScoreAdjust=-200 -
PIDFile=/var/lib/postgres/data/postmaster.pid -
PrivateDevicesIntroduced in systemd 209=yes -
PrivateTmp=yes -
ProtectControlGroupsIntroduced in systemd 232=yes -
ProtectHomeIntroduced in systemd 214=yes -
ProtectKernelModulesIntroduced in systemd 232=yes -
ProtectKernelTunablesIntroduced in systemd 232=yes -
ProtectSystemIntroduced in systemd 214=full -
RemainAfterExit=on -
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 -
RestrictNamespacesIntroduced in systemd 233=yes -
RestrictRealtimeIntroduced in systemd 231=yes -
RuntimeDirectory=postgresql -
RuntimeDirectoryMode=755 -
SendSIGKILL=no -
StateDirectory=postgresql postgresql/14 -
StateDirectoryMode=0750 -
SyslogIdentifier=postgres -
SystemCallArchitectures=native -
TimeoutSec=0 -
TimeoutSec=120 -
Type=forking -
Type=notify -
Type=oneshot -
User=postgres
-
-
[Unit]-
After=network.target -
After=syslog.target network.target -
Description=PostgreSQL RDBMS -
Description=PostgreSQL Server -
Description=PostgreSQL database server -
RequiresMountsFor=/var/lib/postgresql/14
-
Additionnal notes
Nothing here.