commit:     315a294356e3aff439c7bb0e4fae462111dfb2c0
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 18 04:44:29 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Sep 18 04:55:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315a2943

sys-cluster/heat: updating init

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-cluster/heat/files/heat.initd-2      | 16 ++++++++++++++++
 sys-cluster/heat/heat-2017.2.9999.ebuild |  2 +-
 sys-cluster/heat/heat-9.0.0.ebuild       |  2 +-
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/heat/files/heat.initd-2 
b/sys-cluster/heat/files/heat.initd-2
new file mode 100644
index 00000000000..2161aa9918e
--- /dev/null
+++ b/sys-cluster/heat/files/heat.initd-2
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Starts ${SVCNAME} service for OpenStack"
+
+command=/usr/bin/${SVCNAME}
+command_user="${HEAT_USER:-heat}"
+command_background=yes
+command_args="--config-file /etc/heat/heat.conf --log-file 
${HEAT_LOGDIR:-/var/log/heat}/${SVCNAME}.log"
+pidfile=/run/${SVCNAME}.pid
+required_files=/etc/heat/heat.conf
+
+depend() {
+    need net 
+}

diff --git a/sys-cluster/heat/heat-2017.2.9999.ebuild 
b/sys-cluster/heat/heat-2017.2.9999.ebuild
index 66ec5b6da47..04ed5348102 100644
--- a/sys-cluster/heat/heat-2017.2.9999.ebuild
+++ b/sys-cluster/heat/heat-2017.2.9999.ebuild
@@ -145,7 +145,7 @@ python_install_all() {
        dodir /etc/heat/templates
 
        for svc in api api-cfn engine; do
-               newinitd "${FILESDIR}/heat.initd" heat-${svc}
+               newinitd "${FILESDIR}/heat.initd-2" heat-${svc}
        done
 
        insinto /etc/heat

diff --git a/sys-cluster/heat/heat-9.0.0.ebuild 
b/sys-cluster/heat/heat-9.0.0.ebuild
index d1e8a595c47..77fbb01c85d 100644
--- a/sys-cluster/heat/heat-9.0.0.ebuild
+++ b/sys-cluster/heat/heat-9.0.0.ebuild
@@ -144,7 +144,7 @@ python_install_all() {
        dodir /etc/heat/templates
 
        for svc in api api-cfn engine; do
-               newinitd "${FILESDIR}/heat.initd" heat-${svc}
+               newinitd "${FILESDIR}/heat.initd-2" heat-${svc}
        done
 
        insinto /etc/heat

Reply via email to