summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/postgres-server.service
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-24 15:29:41 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-24 18:06:18 +0100
commited3db26045041c2e5f25f7a60154740bd93cbd48 (patch)
treec278d32ceb54f555286c6c57b86e15b4ca251f7f /openstack/usr/lib/systemd/system/postgres-server.service
parent0f89f20d72ee11de35ad6c4471a1ce3071c57ad4 (diff)
downloaddefinitions-ed3db26045041c2e5f25f7a60154740bd93cbd48.tar.gz
Move postgres-server configuration out of keystone-setup
Otherwise postgres-server and keystone-setup services will initially fail, as keystone-setup needs a postgres-server running to succeed, but the postgres-server can only run after some configuration, which was previously being done by keystone-setup. Change-Id: I2d649d494cb54119e3b9bd3d9f6deb46bfb2dd12
Diffstat (limited to 'openstack/usr/lib/systemd/system/postgres-server.service')
-rw-r--r--openstack/usr/lib/systemd/system/postgres-server.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/usr/lib/systemd/system/postgres-server.service b/openstack/usr/lib/systemd/system/postgres-server.service
index 70b2fd09..cd559fa0 100644
--- a/openstack/usr/lib/systemd/system/postgres-server.service
+++ b/openstack/usr/lib/systemd/system/postgres-server.service
@@ -13,9 +13,9 @@ Environment=PGROOT=/var/lib/pgsql
SyslogIdentifier=postgres
PIDFile=/var/lib/pgsql/data/postmaster.pid
-ExecStart= /usr/bin/pg_ctl -s -D ${PGROOT}/data start -w -t 120
+ExecStart=/usr/bin/pg_ctl -s -D ${PGROOT}/data start -w -t 120
ExecReload=/usr/bin/pg_ctl -s -D ${PGROOT}/data reload
-ExecStop= /usr/bin/pg_ctl -s -D ${PGROOT}/data stop -m fast
+ExecStop=/usr/bin/pg_ctl -s -D ${PGROOT}/data stop -m fast
# Due to PostgreSQL's use of shared memory, OOM killer is often overzealous in
# killing Postgres, so adjust it downward