This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0
-
ExecReload=/bin/kill -HUP $MAINPID
-
ExecReload=/usr/bin/pg_ctlcluster --skip-systemctl-redirect %i reload
-
ExecStart=-/usr/bin/pg_ctlcluster --skip-systemctl-redirect %i start
-
ExecStart=/usr/bin/postmaster -D ${PGDATA}
-
ExecStartPre=/usr/libexec/postgresql-check-db-dir %N
-
ExecStop=/usr/bin/pg_ctlcluster --skip-systemctl-redirect -m fast %i stop
-
Group=postgres
-
KillMode=mixed
-
KillSignal=SIGINT
-
OOMScoreAdjust=-1000
-
OOMScoreAdjust=-900
-
PIDFile=/run/postgresql/%i.pid
-
SyslogIdentifier=postgresql@%i
-
TimeoutSec=0
-
TimeoutStartSec=0
-
TimeoutStopSec
Introduced in systemd 188=1h -
Type=forking
-
Type=notify
-
User=postgres
-
-
[Unit]
-
After=network.target
-
AssertPathExists=/etc/postgresql/%I/postgresql.conf
-
Before=postgresql.service
-
Description=PostgreSQL Cluster %i
-
Description=PostgreSQL database server
-
PartOf=postgresql.service
-
ReloadPropagatedFrom=postgresql.service
-
RequiresMountsFor=/etc/postgresql/%I /var/lib/postgresql/%I
-
Additionnal notes
Nothing here.