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

Commit

Permalink
Merge pull request #13 from docker/comanageautoexec
Browse files Browse the repository at this point in the history
Added autoexec binary
  • Loading branch information
Jim Van Fleet committed Sep 15, 2016
2 parents d72d7af + 5696f29 commit e11c9f1
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit e11c9f1

Please sign in to comment.