summaryrefslogtreecommitdiffstats
path: root/postgresql.init.in
Commit message (Collapse)AuthorAgeFilesLines
* postgresql.init: use $README_DIST alsoPavel Raiskup2015-02-101-3/+5
| | | | | | | | Issue detected by './configure --with-sysvinit && make check'. * postgresql.init.in ($PGDOCDIR): Wipe it out. ($README_DIST): Use on appropriate places. * Makefile.am: Add TODO relevant to this commit.
* configury: use one single variable SU_POSTGRESPavel Raiskup2015-02-101-13/+6
| | | | | | | | | | | | We use 'su' only for 'postgres' user purposes. So have one, configure-time-proven command. Also, in the previous commit I forgot to fix sysvinit file. * configure.ac (SU_POSTGRES): New variable. * postgresql-setup.in ($SU_POSTGRES): Use detected @SU_POSTGRES@. ($SU, $SU_L_POSTGRES): Avoid usage of those. * postgresql.init.in: Likewise. * .gitignore: Remove typoed ignore.
* sysvinit: generate init file when neededPavel Raiskup2014-10-021-0/+337
From now, if ./configure --with-sysvinit is done, we install init script and do not install systemd files. Original patch written by Jozef MlĂ­ch (jmlich@redhat.com). * Makefile.am (initscriptsdir, nodist_initscripts_DATA): New variables. New postgresql.init target. * configure.ac: Add --with-sysvinit option. * postgresql.init.in: New sysvinit template. * .gitignore: Mention postgresql.init. * NEWS: Document.