Skip to content

Commit

Permalink
Merge pull request #103 from abes-esr/develop
Browse files Browse the repository at this point in the history
Merge dev dans test
  • Loading branch information
EryneKL authored Dec 3, 2024
2 parents acafdd2 + dc05daa commit 00b61e0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docker/batch/itemBatchTraiterLigneFichierExemp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * * * * * /home/batch/item/current/bin/itemBatchTraiterLigneFichierExemp.sh > /dev/null 2>&1

LANG=fr_FR.UTF-8
if [[ $(pgrep -cf "traiterLigneFichierExemp") < 1 ]];
if [[ $(pgrep -cf "traiterLigneFichierExemp") < 2 ]];
then
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierExemp --server.port=8082
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierExemp --server.port=0
fi
4 changes: 2 additions & 2 deletions docker/batch/itemBatchTraiterLigneFichierModif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * * * * * /home/batch/item/current/bin/itemBatchTraiterLigneFichierModif.sh > /dev/null 2>&1

LANG=fr_FR.UTF-8
if [[ $(pgrep -cf "traiterLigneFichierModif") < 1 ]];
if [[ $(pgrep -cf "traiterLigneFichierModif") < 2 ]];
then
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierModif --server.port=8083
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierModif --server.port=0
fi
4 changes: 2 additions & 2 deletions docker/batch/itemBatchTraiterLigneFichierRecouv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * * * * * /home/batch/item/current/bin/itemBatchTraiterLigneFichierRecouv.sh > /dev/null 2>&1

LANG=fr_FR.UTF-8
if [[ $(pgrep -cf "traiterLigneFichierRecouv") < 1 ]];
if [[ $(pgrep -cf "traiterLigneFichierRecouv") < 2 ]];
then
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierRecouv --server.port=8084
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierRecouv --server.port=0
fi
4 changes: 2 additions & 2 deletions docker/batch/itemBatchTraiterLigneFichierSupp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * * * * * /home/batch/item/current/bin/itemBatchTraiterLigneFichierSupp.sh > /dev/null 2>&1

LANG=fr_FR.UTF-8
if [[ $(pgrep -cf "traiterLigneFichierSupp") < 1 ]];
if [[ $(pgrep -cf "traiterLigneFichierSupp") < 2 ]];
then
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierSupp --server.port=8085
java -XX:MaxRAMPercentage=80 org.springframework.boot.loader.JarLauncher --spring.batch.job.name=traiterLigneFichierSupp --server.port=0
fi
2 changes: 1 addition & 1 deletion web/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- CONSOLE -->
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout
pattern="%style{%d{ISO8601}}{black} %highlight{%-5level }[%style{%t}{bright,blue}] %style{%C{1.}}{dark,yellow}: %msg%n%throwable" />
pattern="%style{%d{ISO8601}}{white} %highlight{%-5level }[%style{%t}{bright,blue}] %style{%C{1.}}{dark,yellow}: %msg%n%throwable" />
</Console>
</Appenders>
<Loggers>
Expand Down

0 comments on commit 00b61e0

Please sign in to comment.