diff options
author | Christopher Baines <mail@cbaines.net> | 2021-01-01 09:58:29 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-01-01 09:58:29 +0000 |
commit | 3ac3f226f32dac17500974ec0319fdeff42d22d4 (patch) | |
tree | c94c1ec84e14423471f91da7b845e82d52895862 /gnu/packages/build-tools.scm | |
parent | 153151a865cfae5e7f8c8d98be78b238a6cc7a33 (diff) | |
download | guix-postgres-pg_ctl-logging.tar guix-postgres-pg_ctl-logging.tar.gz |
services: postgresql: Log from pg_ctl.postgres-pg_ctl-logging
pg_ctl will output errors when starting PostgreSQL, for example about errors
in the configuration file. Without getting pg_ctl to log to a file, I'm not
sure how to find those errors.
* gnu/services/databases.scm (postgresql-activation): Create
/var/log/postgresql.
(postgresql-shepherd-service): Pass --log=/var/log/postgresql/pg_ctl to
pg_ctl.
Diffstat (limited to 'gnu/packages/build-tools.scm')
0 files changed, 0 insertions, 0 deletions