Skip to content

Commit

Permalink
added new scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Nov 22, 2016
1 parent c2984b2 commit 12d8b77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions container_files/bin/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
while true; do
sleep 1800
done
7 changes: 5 additions & 2 deletions container_files/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ then
echo "Starting tomcat and apache"
/opt/autoexec/bin/firstrun.sh
/usr/local/bin/httpd-shib-foreground &
/opt/grouper/2.3.0/apache-tomcat-6.0.35/bin/catalina.sh run
/opt/grouper/2.3.0/apache-tomcat-6.0.35/bin/catalina.sh run &
/opt/grouper/$VERSION/grouper.apiBinary-$VERSION/bin/gsh -loader &
/usr/local/bin/run.sh
fi
else
echo "Composed so waiting for MariaDB: " > $log
Expand Down Expand Up @@ -55,6 +57,7 @@ else
date >> $log
/usr/local/bin/httpd-shib-foreground &
/opt/grouper/2.3.0/apache-tomcat-6.0.35/bin/catalina.sh run &
/opt/grouper/$VERSION/grouper.apiBinary-$VERSION/bin/gsh -loader
/opt/grouper/$VERSION/grouper.apiBinary-$VERSION/bin/gsh -loader &
/usr/local/bin/run.sh
fi
fi

0 comments on commit 12d8b77

Please sign in to comment.