Package-Manager: Portage-2.3.8, Repoman-2.3.3
--- /dev/null
+#!/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
+}
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
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