From 63dacc37cabf9bbb325956c577591ca5db52118d Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 22 Nov 2017 11:07:53 -0500 Subject: postgresql: updates to get things working with systemd Convert the sysvinit code to instead work with systemd. We are no longer able to make use of postinst scripts as we need to perform setup after the postgresql service is started, this will have 'knock-on' effects for other postinst, such as for keystone. Changing these postinst to "one time" services buys us greater control and easier readability than the postinst scripts, so overall this is a good change. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- meta-openstack-controller-deploy/classes/hosts.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-openstack-controller-deploy') diff --git a/meta-openstack-controller-deploy/classes/hosts.bbclass b/meta-openstack-controller-deploy/classes/hosts.bbclass index d4062b4..07fa727 100644 --- a/meta-openstack-controller-deploy/classes/hosts.bbclass +++ b/meta-openstack-controller-deploy/classes/hosts.bbclass @@ -5,4 +5,4 @@ CONTROLLER_IP ?= "192.168.7.2" CONTROLLER_HOST ?= "controller" MY_IP ?= "${CONTROLLER_IP}" MY_HOST ?= "${CONTROLLER_HOST}" -DB_DATADIR ?= "/etc/postgresql" +DB_DATADIR ?= "/etc/postgresql/data" -- cgit v1.2.3-54-g00ecf