/etc/init/nova-api-os-volume.conf is in nova-api-os-volume 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 Volume 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-volume --flagfile=/etc/nova/nova.conf" nova
|