summaryrefslogtreecommitdiffstats
path: root/postgresql-check-db-dir.in
Commit message (Collapse)AuthorAgeFilesLines
* buildsystem: better handle distro-READMEPavel Raiskup2014-10-021-5/+5
| | | | | | | | | | Avoid detecting README.rpm-dist as we generate this file and we know the best where the file is. * configure.ac: Avoid detecting README path. Also substitute new variable README_DIST_BASENAME. * Makefile.am: Use the new $(README_DIST_BASENAME). * postgres-check-db-dir.in: Use README_DIST instead of PGDOCDIR.
* postgresql-check-db-dir: fix drop-in directory detectionPavel Raiskup2014-09-231-1/+1
| | | | | | | Backpatch to REL_001. * postgresql-check-db-dir.in: Fix drop-in directory to contain the 'service' string.
* docs: adjust --help output and warning hintsPavel Raiskup2014-09-191-3/+3
| | | | | | * postgresql-check-db-dir.in: Just fix typos. * postgresql-setup.in: Reorganize --help. * TODO: Adjust after some time.
* postgresql-check-db-dir: migrate from /etc/postgresql/*Pavel Raiskup2014-09-161-9/+12
|
* service: avoid cryptic failure with old configPavel Raiskup2014-07-041-4/+22
| | | | | | | | | | | | | | | If user removes currently provided /etc/postgresql/postgresql configuration file, PGDATA env variable is not set. The `systemctl start postgresql` would fail similarly to `systemctl start postgresql@NOTCONFIGURED` when the configuration file was not created yet with cryptic message "Usage: ... " Stop this behavior rather explicitly with proper error in check-db-dir script. Warn also user in similar fashion that the configuration should be adjusted in case the PGDATA was set directly in service file.
* postgresql-check-db-dir generated alsoPavel Raiskup2014-07-011-0/+57
Also generate files using sed as is suggested by autoconf manual (and the autoconf project does so internally).