From 8ea2f32750a69d8b812f005293d5bfa50f08112e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 Sep 2014 16:20:37 +0200 Subject: postgresql-setup: detect systemd's NeedDaemonReload Because we rely on parsing of `systemctl show -p` outuput heavily, we need to detect whether the service file or some dropin did not change (or was not added). So from now we rather instruct admin to do daemon-reload when something changed.. * postgresql-setup.in: Detect the NeedDaemonReload and warn if yes. * NEWS: Document. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b49039b..08bb40a 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,10 @@ New in 0.9.2 version environment variable setup from systemd's environment files specified via EnvironmentFile= statement (reminded by private rhbz#1135611). +* postgresql-setup now detects whether systemd configuration changed + while the `systemctl daemon-reload` was not done yet. Without + daemon-reload, running postgresql-setup could lead to unexpected results. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 0.9.1 version -- cgit