/etc/init/nova-api-os-compute.conf is in nova-api-os-compute 2012.1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | description "Nova OpenStack Compute API server"
author "Joe Heck <heckj@mac.com>"
start on (filesystem and net-device-up IFACE!=lo)
stop on runlevel [016]
chdir /var/run
pre-start script
mkdir -p /var/run/nova
chown nova:root /var/run/nova/
mkdir -p /var/lock/nova
chown nova:root /var/lock/nova/
end script
exec su -s /bin/sh -c "exec nova-api-os-compute --flagfile=/etc/nova/nova.conf" nova
|