File: README.systemd

package info (click to toggle)
postgresql-common 225%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,360 kB
  • sloc: perl: 3,427; sh: 1,476; makefile: 99; sql: 13; ansic: 10
file content (16 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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