summaryrefslogtreecommitdiffstats
path: root/postgresql-check-db-dir.in
Commit message (Collapse)AuthorAgeFilesLines
* 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).