summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-nova-compute.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-14 09:51:00 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-16 10:37:30 +0000
commit55d7b5c33929ac5839830dd19b92a226b9cb6f1e (patch)
tree0a8a0f9a75fdd69a7cf1755e3f252e31beafd2f9 /openstack/usr/lib/systemd/system/openstack-nova-compute.service
parent2486e0dcbf737d36efcf04f2c16805783b00240f (diff)
downloaddefinitions-55d7b5c33929ac5839830dd19b92a226b9cb6f1e.tar.gz
Openstack: Make Nova configurable
Change-Id: Ia5e2450351359d35fd2aa37b75534178d8305936 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-nova-compute.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-compute.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-compute.service b/openstack/usr/lib/systemd/system/openstack-nova-compute.service
new file mode 100644
index 00000000..95a3a872
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-compute.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenStack Compute Service (code-named Nova) compute server
+After=syslog.target network-online.target libvirtd.service
+Wants=network-online.target
+Requires=libvirtd.service
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf
+
+[Install]
+WantedBy=multi-user.target