Permalink
Browse files

set heroku execution conditional

  • Loading branch information...
idelvall committed Feb 18, 2016
1 parent 13ab222 commit 38541be74e180b712e553416e2666f346464c006
Showing with 8 additions and 1 deletion.
  1. +1 −1 Procfile
  2. +7 −0 rpc-demos/start.sh
View
@@ -1 +1 @@
web: sh rpc-demos/rpc-demo-jar/target/bin/exec
web: sh rpc-demos/start.sh
View
@@ -0,0 +1,7 @@
#!/bin/sh
# Heroku start script
if [ "$TARGET" == "secure" ]; then
sh rpc-demo-jar/target/bin/exec
else
sh rpc-demo-secure-jar/target/bin/exec
fi

0 comments on commit 38541be

Please sign in to comment.