summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-03-20 11:51:49 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-03-20 11:58:52 +0100
commitd529834d22549b48c54546d1fa463b93a0859025 (patch)
tree10018c9342c66d18bfef424b7c3485cc25dbc050 /Makefile.am
parentd95bc9eaaf44776349c05a44d42f3b84e574d936 (diff)
downloadpostgresql-setup-3.2.tar.gz
postgresql-setup-3.2.tar.xz
postgresql-setup-3.2.zip
setup: enhance --new-systemd-unitv3.2
Do not left created dropin directory in case of some initdb failure, or so. This allow user run the same --new-systemd-unit repeatedly without changing the command-line. * postgresql-setup.in (exit_handler): New exit callback wrapper. ($cleanup_dropin): Code to be executed to clean drop-in directory. (generate_systemd_dropin): Fill $cleanup_dropin callback. (initdb): Clean $cleanup_dropin in case of successful initdb. This is not needed for upgrade() because we never create drop-ins there. * NEWS: Document changes.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions