This file is indexed.

/usr/share/doc/postgresql-common/README.systemd is in postgresql-common 173ubuntu0.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
systemd unit files for PostgreSQL on Debian/Ubuntu
--------------------------------------------------

Each cluster is run as a separate service, called postgresql@version/name.
As systemd prefers processes to not daemonize, pg_ctlcluster is invoked with
--foreground. Logging still goes to /var/log/postgresql. (If you prefer the
systemd journal, remove --stdlog from ExecStart postgresql@.service, or
configure the logging_collector.)

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
/var/run/systemd/generator/postgresql.service.wants/.

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