/etc/init/heat-api-cfn.conf is in heat-api-cfn 2014.1.3-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | description "Heat API"
author "Thomas Goirand <zigo@debian.org>"
start on runlevel [2345]
stop on runlevel [!2345]
chdir /var/run
pre-start script
for i in lock run log lib ; do
mkdir -p /var/$i/heat
chown heat /var/$i/heat
done
end script
script
[ -x "/usr/bin/heat-api-cfn" ] || exit 0
DAEMON_ARGS=" --config-file=/etc/heat/heat.conf"
[ -r /etc/default/openstack ] && . /etc/default/openstack
[ -r /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB
[ "x$USE_SYSLOG" = "xyes" ] && DAEMON_ARGS="$DAEMON_ARGS --use-syslog"
[ "x$USE_LOGFILE" != "xno" ] && DAEMON_ARGS="$DAEMON_ARGS --log-file=/var/log/heat/heat-api-cfn.log"
exec start-stop-daemon --start --chdir /var/lib/heat \
--chuid heat:heat --make-pidfile --pidfile /var/run/heat/heat-api-cfn.pid \
--exec /usr/bin/heat-api-cfn -- --config-file=/etc/heat/heat.conf ${DAEMON_ARGS}
end script
|