summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-05-20 12:36:58 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-05-20 12:36:58 +0100
commit3972dc3a720794f2ded9fe5e6305d3fae4a6a7d7 (patch)
tree4875e396af3ef083ee6883775e34c48e52605e2d /openstack/usr/lib/systemd/system/openstack-cinder-volume.service
parentc368f61b0b460f120634219a5b70186c803d5bed (diff)
parent4b9268eb9cb1f8d140f543d9c4a3aa1aa8298994 (diff)
downloadinfrastructure-3972dc3a720794f2ded9fe5e6305d3fae4a6a7d7.tar.gz
Merge remote-tracking branch 'baserock/baserock/adamcoldrick/mason-2015' into sam/mason-zuul-2
Conflicts: baserock_irclogs/systems/irclogs-x86_64.morph hosts scripts/licensecheck.pl Change-Id: Ib298ce7928a8f5a23918b1226746c39e48fe705f
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-volume.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-cinder-volume.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-volume.service b/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
new file mode 100644
index 00000000..c56ee693
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=OpenStack Cinder volume server
+ConditionPathExists=/etc/cinder/cinder.conf
+After=network-online.target openstack-cinder-config-setup.service openstack-cinder-db-setup.service openstack-cinder-lv-setup.service lvm2-lvmetad.service iscsid.service target.service
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=cinder
+StandardOutput=null
+StandardError=null
+ExecStart=/usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf
+
+[Install]
+WantedBy=multi-user.target