openstack_dockers/cinder_storage/run.sh

17 lines
256 B
Bash
Raw Normal View History

#!/bin/bash
# Write the config files
/etc/write_conf.sh
# start cinder processes.
2018-04-23 15:07:18 +02:00
cinder-volume -d &
sleep 5
cinder-volume -d &
# If any process fails, kill the rest.
# This ensures the container stops and systemd will restart it.
wait -n
pkill -P $$