From 50e8e2cef1d5e12dd18e6f2a598dc85393077d4d Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 19 Sep 2014 12:24:34 +0200 Subject: postgresql-setup: opt --new-systemd-unit, --datadir From now, admin may run single command to instantiate secondary PostgreSQL server. * postgresql-setup.in: Reorganize a little to avoid processing of port, datadir, etc. on different places. Process new options. Also make some warnings more clear. * postgresql-setup.in (warn_q, info_q): New echo wrappers. (generate_systemd_dropin): New function. (USAGE_STRING): Document new options. * NEWS: Document changes. --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 08bb40a..7454322 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,11 @@ New in 0.9.2 version while the `systemctl daemon-reload` was not done yet. Without daemon-reload, running postgresql-setup could lead to unexpected results. +* When the --new-systemd-unit (together with --unit & --port & --datadir) is + given, postgresql-setup is now able to generate very simple drop-in + configuration file - so instantiating another PostgreSQL server may be + done by single command. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 0.9.1 version -- cgit