diff options
Diffstat (limited to 'install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service')
-rw-r--r-- | install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service b/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service new file mode 100644 index 00000000..a5b7fe85 --- /dev/null +++ b/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service @@ -0,0 +1,16 @@ +[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 +Requisite=openstack-cinder-lv-setup.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 |