summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-api.service
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-15 07:16:42 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-17 15:35:24 +0000
commit4d37f04a808298da53d720b85ca1bfb0f866e3bc (patch)
treee5d294d0ada3983c7fc92bb32d36c54b6d46c6db /openstack/usr/lib/systemd/system/openstack-cinder-api.service
parent16ec568ee57045464cd2435358a28c25820a6a61 (diff)
downloaddefinitions-4d37f04a808298da53d720b85ca1bfb0f866e3bc.tar.gz
OpenStack: Split Cinder into config, db and lv setup
Change-Id: Iae387e39c4a62ef608496d31c748493fa88ce3e1
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-api.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-cinder-api.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-api.service b/openstack/usr/lib/systemd/system/openstack-cinder-api.service
index c863f3f5..d1aaf136 100644
--- a/openstack/usr/lib/systemd/system/openstack-cinder-api.service
+++ b/openstack/usr/lib/systemd/system/openstack-cinder-api.service
@@ -1,7 +1,8 @@
[Unit]
Description=OpenStack Volume Service (code-named Cinder) API server
-After=syslog.target network-online.target
-Wants=network-online.target
+ConditionPathExists=/etc/cinder/cinder.conf
+After=postgres-server.service network-online.target openstack-cinder-db-setup.service openstack-cinder-config-setup.service
+Wants=postgres-server.service network-online.target
[Service]
Type=simple