summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-nova-api.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-03-16 15:12:14 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-02 11:13:34 +0000
commitb9cd65ee383faf8e1d86728b0557fab34bdfd7de (patch)
tree43f3a59ba0eab6238c0c68518ae8d691e607a3f5 /openstack/usr/lib/systemd/system/openstack-nova-api.service
parent83add32ade13bf16bdcd686cd0aa7286221a75c7 (diff)
downloaddefinitions-b9cd65ee383faf8e1d86728b0557fab34bdfd7de.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-nova-api.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-api.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-api.service b/openstack/usr/lib/systemd/system/openstack-nova-api.service
new file mode 100644
index 00000000..de7412ee
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-api.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenStack Compute Service (code-named Nova) API server
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-api --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target