2018-08-10 16:15:48 +02:00
|
|
|
#!/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/* &
|
|
|
|
|
2018-08-10 16:15:48 +02:00
|
|
|
chown _shibd: /etc/shibboleth/sp*.pem
|
|
|
|
|
|
|
|
shibd -f -F &
|
|
|
|
|
|
|
|
# If any process fails, kill the rest.
|
2018-09-13 11:52:06 +02:00
|
|
|
# This ensures the container stops and systemd will restart it.
|
2018-08-10 16:15:48 +02:00
|
|
|
|
|
|
|
wait -n
|
|
|
|
pkill -P $$
|
|
|
|
|