FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit ff02d1e9 authored by L. Bower's avatar L. Bower
Browse files

adding log level to docker launch script

parent ed52e949
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ set -e
upload=''
islive=''
clearup=''
loglevel=''
component='not_set'
loglevel='not_set'
config='/storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json' # default
rundate=$(date '+%Y%m%d') # default today
SHORT=p:c:s:h
SHORT=p:c:s:l:h
LONG=component:,config:,rundate:,noupload::,islive::,clearup::,loglevel::,help
OPTS=$(getopt -a --options $SHORT --longoptions $LONG -- "$@")
echo $OPTS
......@@ -31,6 +31,10 @@ do
rundate="$2"
shift 2
;;
-l | --loglevel )
loglevel="$2"
shift 2;
;;
--noupload )
upload="--noupload"
shift 2;
......@@ -39,10 +43,6 @@ do
islive="--islive"
shift 2;
;;
--loglevel )
loglevel="--loglevel"
shift 2;
;;
--clearup )
clearup="--clearup"
shift 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment