From ced15b1b8f1c52d3c98f0017afc071e264148651 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Mon, 16 Mar 2015 15:12:14 +0000 Subject: Move systemd units to /usr/lib/systemd/system as defined in systemd documentation See http://www.freedesktop.org/software/systemd/man/systemd.unit.html for more information --- .../usr/lib/systemd/system/openstack-cinder-volume.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 openstack/usr/lib/systemd/system/openstack-cinder-volume.service (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-volume.service') 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..8852c90f --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-cinder-volume.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenStack Cinder volume server +After=syslog.target network.target + +[Service] +Type=simple +User=cinder +ExecStart=/usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-volume.log + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1