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

Commit

Permalink
Added autoexec binary
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Sep 15, 2016
1 parent d72d7af commit 5696f29
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 5696f29

Please sign in to comment.