Created
February 5, 2013 11:08
-
-
Save hughsaunders/4713772 to your computer and use it in GitHub Desktop.
nova upstart job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@allinone:/var/log/nova# cat /etc/init/nova-compute.conf | |
description "Nova compute worker" | |
author "Soren Hansen <[email protected]>" | |
start on runlevel [2345] | |
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/ | |
modprobe nbd | |
end script | |
#exec su -s /bin/sh -c "exec nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf" nova | |
exec su -s /bin/sh -c "exec nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment