summaryrefslogtreecommitdiff
path: root/sys-cluster/heat/files/heat.initd
blob: 295879ebea7953673549f77077fc06b40de58918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
# Copyright 1999-2018 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 
}