added launch scripts

This commit is contained in:
markfisher
2016-09-22 14:17:39 -04:00
parent 64d6975cfd
commit 051bda815d
2 changed files with 40 additions and 0 deletions

18
scripts/web.fun Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
while getopts ":p:f:" opt; do
case $opt in
p)
WEBPATH=$OPTARG
;;
f)
FUNC=$OPTARG
;;
esac
done
java -jar ../spring-cloud-function-web/target/spring-cloud-function-web-1.0.0.BUILD-SNAPSHOT.jar\
--web.path=$WEBPATH\
--function.name=func\
--function.code=$FUNC