From 315a294356e3aff439c7bb0e4fae462111dfb2c0 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sun, 17 Sep 2017 23:44:29 -0500 Subject: [PATCH] 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(-) create mode 100644 sys-cluster/heat/files/heat.initd-2 diff --git a/sys-cluster/heat/files/heat.initd-2 b/sys-cluster/heat/files/heat.initd-2 new file mode 100644 index 000000000000..2161aa9918ee --- /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 66ec5b6da472..04ed5348102c 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 d1e8a595c47c..77fbb01c85d9 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 -- 2.26.2