HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/share/doc/postgresql-common/README.systemd
systemd unit files for PostgreSQL on Debian/Ubuntu
--------------------------------------------------

Each cluster is run as a separate service, called postgresql@version/name.
pg_ctlcluster is invoked with --skip-systemctl-redirect. Logging still goes to
/var/log/postgresql.

There is a parent service called postgresql.service, that starts/stops/restarts/
reloads all individual services that are configured as "auto" in
/etc/postgresql/*/*/start.conf.

The link between start.conf and postgresql.service is established by
postgresql-generator, which creates symlinks in
/run/systemd/generator/postgresql.service.wants/.

 -- Christoph Berg <myon@debian.org>  Fri, 18 Jul 2014 23:52:09 +0300