openstack_dockers/cinder_controller/run.sh

16 lines
289 B
Bash
Raw Normal View History

#!/bin/bash
# Write the config files
/etc/write_conf.sh
# start glance service
cinder-scheduler -d &
sleep 5
apachectl -DFOREGROUND &
2018-09-17 11:45:36 +02:00
tail -f /var/log/apache2/* &
# If any process fails, kill the rest.
# This ensures the container stops and systemd will restart it.
wait -n
pkill -P $$