openstack_dockers/keystone/run.sh

23 lines
383 B
Bash
Raw Normal View History

#!/bin/bash
# start nova compute service
chown keystone: /etc/keystone/fernet-keys
chmod 700 /etc/keystone/fernet-keys
# Start apache
a2enmod ssl
apachectl -DFOREGROUND &
2018-08-15 14:41:02 +02:00
tail -f /var/log/apache2/* &
chown _shibd: /etc/shibboleth/sp*.pem
shibd -f -F &
# If any process fails, kill the rest.
# This insures the container stops and systemd will restart it.
wait -n
pkill -P $$