openstack_dockers/keystone/run.sh
Egon Rijpkema 5ae8a4cf1a Fixed typo
2018-09-13 11:52:18 +02:00

23 lines
383 B
Bash
Executable File

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