Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added apache start
villadalmine committed Sep 7, 2016
1 parent 2482b41 commit 8321720
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion container_files/bin/check.sh
@@ -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

6 changes: 4 additions & 2 deletions container_files/bin/start.sh
@@ -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
@@ -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.