summaryrefslogtreecommitdiff
path: root/sys-cluster/heat/files/heat.initd-2
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/heat/files/heat.initd-2')
-rw-r--r--sys-cluster/heat/files/heat.initd-216
1 files changed, 16 insertions, 0 deletions
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
+}