Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/nova/files/
Date: Sat, 02 May 2020 18:38:32
Message-Id: 1588444693.72006cc0e7cfcb3fb0d9f0df1e825beb97948b32.prometheanfire@gentoo
1 commit: 72006cc0e7cfcb3fb0d9f0df1e825beb97948b32
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 18:38:03 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 18:38:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72006cc0
7
8 sys-cluster/nova: fix init
9
10 Closes: https://bugs.gentoo.org/720334
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 sys-cluster/nova/files/nova.initd | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/sys-cluster/nova/files/nova.initd b/sys-cluster/nova/files/nova.initd
18 index ba722949182..563c3a546b5 100644
19 --- a/sys-cluster/nova/files/nova.initd
20 +++ b/sys-cluster/nova/files/nova.initd
21 @@ -1,5 +1,5 @@
22 #!/sbin/openrc-run
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 description="Starts ${SVCNAME} service for OpenStack"
28 @@ -9,7 +9,7 @@ command_args="--config-file /etc/nova/nova.conf"
29 pidfile=/run/${SVCNAME}.pid
30 command_background=true
31 required_files=/etc/nova/nova.conf
32 -if [ "$SVCNAME" == nova-compute ]; then
33 +if [ "$SVCNAME" = nova-compute ]; then
34 required_files="${required_files} /etc/nova/nova-compute.conf"
35 command_args="${command_args} --config-file /etc/nova/nova-compute.conf"
36 fi
37 @@ -21,5 +21,5 @@ depend() {
38 }
39
40 start_pre() {
41 - checkpath --directory --owner ${NOVA_USER:-nova}:${NOVA_GROUP:-nova} --mode 0775 ${NOVA_RUN:-/var/lock/nova}
42 + checkpath --directory --owner "${NOVA_USER:-nova}":"${NOVA_GROUP:-nova}" --mode 0775 "${NOVA_RUN:-/var/lock/nova}"
43 }