Commit 68832132 authored by Scotty Logan's avatar Scotty Logan
Browse files

added real start script

parent c8fa1c7d
#! /bin/bash
mkdir -p /var/run/shibboleth
chgrp _shibd /var/run/shibboleth
echo PassEnv ENV_DOMAIN > /etc/apache2/conf.d/platform_env.conf
/usr/sbin/apache2ctl -D FOREGROUND -k start &
# shibd doesn't write its pid to a file when not daemonized
/usr/sbin/shibd -f -F -c /etc/shibboleth/shibboleth2.xml &
sleep 2
echo wait -n $(pidof shibd) $(cat /var/run/apache2/apache2.pid)
ps -ef
wait -n $(pidof shibd) $(cat /var/run/apache2/apache2.pid)
echo Wait exited with status $?
ps -ef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment