summaryrefslogtreecommitdiff
path: root/sys-cluster/heat/files/heat.initd-2
blob: 2161aa9918ee48a29469f20d98df1dc9af770ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 
}