sys-cluster/heat: updating init
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 18 Sep 2017 04:44:29 +0000 (23:44 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 18 Sep 2017 04:55:05 +0000 (23:55 -0500)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

sys-cluster/heat/files/heat.initd-2 [new file with mode: 0644]
sys-cluster/heat/heat-2017.2.9999.ebuild
sys-cluster/heat/heat-9.0.0.ebuild

diff --git a/sys-cluster/heat/files/heat.initd-2 b/sys-cluster/heat/files/heat.initd-2
new file mode 100644 (file)
index 0000000..2161aa9
--- /dev/null
@@ -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 
+}
index 66ec5b6da472c6474a2604c28b8413e709963310..04ed5348102cfe0ce2d3a3dd8a2c46233e9f50ef 100644 (file)
@@ -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
index d1e8a595c47cc66c1b26fd3ab3e57434e1ac7140..77fbb01c85d952977508eacd1ee7fd58f073df55 100644 (file)
@@ -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