Skip to content

Commit

Permalink
Added apache start
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Sep 7, 2016
1 parent 2482b41 commit 8321720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion container_files/bin/check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

log="/tmp/grouper-check.log"

date >> $log
echo "Installing schema" >> $log
cd /opt/grouper/2.3.0/grouper.apiBinary-2.3.0 && GROUPER_HOME=/opt/grouper/2.3.0/grouper.apiBinary-2.3.0 bin/gsh.sh -registry -drop -runscript -noprompt >> $log

Expand Down
6 changes: 4 additions & 2 deletions container_files/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ then
exit 1
else
echo "Grouper was configured"
exit 0
echo "Starting apache"
/usr/local/bin/httpd-shib-foreground
fi
else
echo "Composed so waiting for MariaDB: " > $log
Expand All @@ -36,6 +37,7 @@ else
exit 1
else
echo "Grouper was configured"
exit 0
echo "Starting apache"
/usr/local/bin/httpd-shib-foreground
fi
fi

0 comments on commit 8321720

Please sign in to comment.