openstack_dockers/heat/run.sh
2018-04-23 15:35:37 +02:00

16 lines
256 B
Bash
Executable File

#!/bin/bash
# Write the config files
/etc/write_conf.sh
heat-api -v -d &
sleep 5
heat-api-cfn -v -d &
sleep 5
heat-engine -v -d &
# If any process fails, kill the rest.
# This insures the container stops and systemd will restart it.
wait -n
pkill -P $$