Code Review
/
optf
/
osdf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed the config dir and default policy scope
[optf/osdf.git]
/
osdfapp.sh
diff --git
a/osdfapp.sh
b/osdfapp.sh
index
15251a6
..
0e1846a
100755
(executable)
--- a/
osdfapp.sh
+++ b/
osdfapp.sh
@@
-25,7
+25,7
@@
cd $(dirname $0)
LOGS=logs
mkdir -p $LOGS
LOGS=logs
mkdir -p $LOGS
-export OSDF_CONFIG_FILE=${1:-/opt/app/osdf_config.yaml} # this file may be passed by invoker
+export OSDF_CONFIG_FILE=${1:-/opt/app/
config/
osdf_config.yaml} # this file may be passed by invoker
[ ! -e "$OSDF_CONFIG_FILE" ] && unset OSDF_CONFIG_FILE
[ ! -e "$OSDF_CONFIG_FILE" ] && unset OSDF_CONFIG_FILE
-python osdfapp.py 2>$LOGS/err.log 1>$LOGS/out.log < /dev/null
&
# running the app
+python osdfapp.py 2>$LOGS/err.log 1>$LOGS/out.log < /dev/null # running the app