summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-11-28 18:52:58 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2016-11-28 18:53:33 -0600
commit6f6750a4a9db5baeb5b324166a56ad63b18a1e1f (patch)
tree8e2dcfae83cfede77f0bdec38ccbe55580055202 /sys-cluster
parentdev-python/spark-parser: bump to 1.5.1 at dolsen's request (diff)
downloadgentoo-6f6750a4a9db5baeb5b324166a56ad63b18a1e1f.tar.gz
gentoo-6f6750a4a9db5baeb5b324166a56ad63b18a1e1f.tar.bz2
gentoo-6f6750a4a9db5baeb5b324166a56ad63b18a1e1f.zip
sys-cluster/nova: make init posix again, and a comment to a conf file
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/nova/files/nova-compute.conf2
-rw-r--r--sys-cluster/nova/files/nova.initd2
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-cluster/nova/files/nova-compute.conf b/sys-cluster/nova/files/nova-compute.conf
index b00679428a9d..59c7aea2cd24 100644
--- a/sys-cluster/nova/files/nova-compute.conf
+++ b/sys-cluster/nova/files/nova-compute.conf
@@ -1,2 +1,4 @@
[DEFAULT]
+# mkisofs_cmd is needed as the default provider for the binary was remvoed as
+# a package from Gentoo.
mkisofs_cmd = /usr/bin/mkisofs
diff --git a/sys-cluster/nova/files/nova.initd b/sys-cluster/nova/files/nova.initd
index a1ba549cf928..310a65bd890d 100644
--- a/sys-cluster/nova/files/nova.initd
+++ b/sys-cluster/nova/files/nova.initd
@@ -9,7 +9,7 @@ command_background=yes
pidfile=/var/run/nova/${SVCNAME}.pid
required_files=/etc/nova/nova.conf
start_stop_daemon_args="--quiet --user ${NOVA_USER:-nova} --config-file /etc/nova/nova.conf"
-if [[ "$SVCNAME" == nova-compute ]]; then
+if [ "$SVCNAME" == nova-compute ]; then
required_files="${required_files} /etc/nova/nova-compute.conf"
start_stop_daemon_args="${start_stop_daemon_args} --config-file /etc/nova/nova-compute.conf"
fi