Commit a7d00790 authored by Isabella Almeida da Silva's avatar Isabella Almeida da Silva
Browse files

[SOMA-3827][SOMA-4113] Atualizar o developer (merge master->developer)

- Ajustando o merge
parent d3ff420b
......@@ -6,13 +6,6 @@ logsdir="logs"
[ ! -e $logsdir ] && echo "mkdir $logsdir" && mkdir $logsdir
logfile="logs/sgad_${timestamp}.log"
hostruntimedir="/tmp/chuva"
sgadruntimedir="${hostruntimedir}/sgad"
runtimesandboxdir="${sgadruntimedir}/sandbox"
[ ! -e $hostruntimedir ] && echo "mkdir $hostruntimedir..." && mkdir $hostruntimedir
[ ! -e $sgadruntimedir ] && echo "mkdir $sgadruntimedir..." && mkdir $sgadruntimedir
[ ! -e $runtimesandboxdir ] && echo "mkdir $runtimesandboxdir..." && mkdir $runtimesandboxdir
POSITIONAL="" # String para salvar argumentos passados ao comando
while [ $# -gt 0 ] # Percorre todos argumentos
......@@ -46,16 +39,13 @@ if [ -z ${configfile} ]; then
configfile=sgad.cfg
fi
eval $(luarocks path --bin)
sgad ${configfile} ${sga_name} 2>&1 | tee -a "${logfile}"
hostruntimedir="/tmp/chuva"
sgadruntimedir="${hostruntimedir}/sgad"
runtimesandboxdir="${sgadruntimedir}/sandbox"
[ ! -e $hostruntimedir ] && echo "mkdir $hostruntimedir..." && mkdir $hostruntimedir
[ ! -e $sgadruntimedir ] && echo "mkdir $sgadruntimedir..." && mkdir $sgadruntimedir
[ ! -e $runtimesandboxdir ] && echo "mkdir $runtimesandboxdir..." && mkdir $runtimesandboxdir
hostruntimedir="/tmp/chuva"
sgadruntimedir="${hostruntimedir}/sgad"
runtimesandboxdir="${sgadruntimedir}/sandbox"
eval $(luarocks path --bin)
sgad ${configfile} 2>&1 | tee -a "${logfile}"
sgad ${configfile} ${sga_name} 2>&1 | tee -a "${logfile}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment