Skip to content
This repository has been archived by the owner. It is now read-only.

Added autoexec binary #13

Merged
1 commit merged into from
Sep 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions container_files/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ then
if [ "$laststatus" != "0" ]; then
echo "Not composed non-zero exit status: $laststatus" >> $log
echo "Not composed non-zero exit status: $laststatus"
/opt/autoexec/bin/firstrun.sh
exit 1
else
echo "COmanage was configured" >>$log
echo "COmanage was configured"
echo "Starting apache and shibd" >>$log
echo "Starting apache shibd"
/opt/autoexec/bin/firstrun.sh
/usr/local/bin/httpd-shib-foreground
fi
else
Expand Down Expand Up @@ -49,13 +51,15 @@ else
if [ "$laststatus" != "0" ]; then
echo "composed non-zero exit status: $laststatus" >> $log
echo "composed non-zero exit status: $laststatus"
/opt/autoexec/bin/firstrun.sh
exit 1
else
date >> $log
echo "COmanage was configured" >>$log
echo "COmanage was configured"
echo "Starting apache and shibd" >>$log
echo "Starting apache shibd"
/opt/autoexec/bin/firstrun.sh
/usr/local/bin/httpd-shib-foreground
fi
fi