Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 3 | |
Michael Lando | a1ceb60 | 2018-02-20 16:14:11 +0200 | [diff] [blame] | 4 | |
| 5 | cd /root/chef-solo |
| 6 | chef-solo -c solo.rb -E ${ENVNAME} |
| 7 | rc=$? |
| 8 | if [[ $rc != 0 ]]; then |
| 9 | echo "Chef exaction failed." |
| 10 | exit $rc; |
| 11 | fi |
| 12 | |
| 13 | JAVA_OPTIONS=" ${JAVA_OPTIONS} \ |
Lior Nachmias | bc169d4 | 2018-02-26 18:21:23 +0200 | [diff] [blame] | 14 | -Xdebug -agentlib:jdwp=transport=dt_socket,address=5000,server=y,suspend=n -Xmx128m -Xms128m -Xss1m \ |
Michael Lando | a1ceb60 | 2018-02-20 16:14:11 +0200 | [diff] [blame] | 15 | -Dconfig.home=${JETTY_BASE}/config/sdc-simulator \ |
| 16 | -Dlog.home=${JETTY_BASE}/logs \ |
| 17 | -Dlogback.configurationFile=${JETTY_BASE}/config/sdc-simulator/logback.xml \ |
k.kedron | 7890e82 | 2019-08-21 13:31:02 +0200 | [diff] [blame] | 18 | -Djavax.net.ssl.trustStore=${JETTY_BASE}/etc/org.onap.sdc.trust.jks \ |
k.kedron | a22105e | 2020-03-25 15:29:42 +0100 | [diff] [blame] | 19 | -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 \ |
Tal Gitelman | ae3a86d | 2018-10-30 19:45:19 +0200 | [diff] [blame] | 20 | -Djetty.console-capture.dir=${JETTY_BASE}/logs" |
Michael Lando | a1ceb60 | 2018-02-20 16:14:11 +0200 | [diff] [blame] | 21 | |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 22 | |
| 23 | cd /var/lib/jetty |
| 24 | /docker-entrypoint.sh |
| 25 | |