15 lines
260 B
Bash
15 lines
260 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Write the config files
|
||
|
/etc/write_conf.sh
|
||
|
# start glance service
|
||
|
cinder-scheduler -d &
|
||
|
sleep 5
|
||
|
apachectl -DFOREGROUND &
|
||
|
|
||
|
# If any process fails, kill the rest.
|
||
|
# This ensures the container stops and systemd will restart it.
|
||
|
|
||
|
wait -n
|
||
|
pkill -P $$
|