summaryrefslogtreecommitdiff
path: root/sys-cluster/nova/files/nova.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-17 14:32:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-17 14:32:10 +0100
commit51c50bd4c895ebf56d81fecae8e45ec3b5fc3efa (patch)
tree753b6b08624c34d1ed8414bbe22c45409f7741b9 /sys-cluster/nova/files/nova.initd
parentbe9d77d3ac6af8f4ead98d89706f356b65578c93 (diff)
parentdeba8115d2c2af26df42966b91ef04ff4dd79cde (diff)
Merge branch 'edge' into next
Diffstat (limited to 'sys-cluster/nova/files/nova.initd')
-rw-r--r--sys-cluster/nova/files/nova.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-cluster/nova/files/nova.initd b/sys-cluster/nova/files/nova.initd
index ba722949182e..563c3a546b5f 100644
--- a/sys-cluster/nova/files/nova.initd
+++ b/sys-cluster/nova/files/nova.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Starts ${SVCNAME} service for OpenStack"
@@ -9,7 +9,7 @@ command_args="--config-file /etc/nova/nova.conf"
pidfile=/run/${SVCNAME}.pid
command_background=true
required_files=/etc/nova/nova.conf
-if [ "$SVCNAME" == nova-compute ]; then
+if [ "$SVCNAME" = nova-compute ]; then
required_files="${required_files} /etc/nova/nova-compute.conf"
command_args="${command_args} --config-file /etc/nova/nova-compute.conf"
fi
@@ -21,5 +21,5 @@ depend() {
}
start_pre() {
- checkpath --directory --owner ${NOVA_USER:-nova}:${NOVA_GROUP:-nova} --mode 0775 ${NOVA_RUN:-/var/lock/nova}
+ checkpath --directory --owner "${NOVA_USER:-nova}":"${NOVA_GROUP:-nova}" --mode 0775 "${NOVA_RUN:-/var/lock/nova}"
}