summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-backup.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-16 15:12:14 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:46 +0100
commitded5f85b73b7e4544bded9d69aadd27f61e3539f (patch)
treefa458c28f0785eed60f13dd70df4fdd0e6b8c973 /openstack/usr/lib/systemd/system/openstack-cinder-backup.service
parent965dc0b42431047ce552a92cb9e22d9d667ea53d (diff)
downloaddefinitions-ded5f85b73b7e4544bded9d69aadd27f61e3539f.tar.gz
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
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-backup.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-cinder-backup.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-backup.service b/openstack/usr/lib/systemd/system/openstack-cinder-backup.service
new file mode 100644
index 00000000..a8f09ae0
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-cinder-backup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenStack Cinder backup server
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=cinder
+ExecStart=/usr/bin/cinder-backup --config-file /etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-backup.log
+
+[Install]
+WantedBy=multi-user.target