summaryrefslogtreecommitdiff
path: root/install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service
diff options
context:
space:
mode:
Diffstat (limited to 'install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service')
-rw-r--r--install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service b/install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service
new file mode 100644
index 00000000..4f9b8196
--- /dev/null
+++ b/install-files/openstack/usr/lib/systemd/system/openstack-nova-compute.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=OpenStack Compute Service (code-named Nova) compute server
+ConditionPathExists=/etc/nova/nova.conf
+After=network-online.target openstack-nova-config-setup.service openstack-nova-db-setup.service libvirtd.service
+Wants=network-online.target
+Requires=libvirtd.service
+
+[Service]
+Type=simple
+User=nova
+StandardOutput=null
+StandardError=null
+ExecStart=/usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf
+
+[Install]
+WantedBy=multi-user.target