Skip to content

Commit

Permalink
Update output and lower retry count
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Dec 10, 2024
1 parent 8be0c02 commit 526c587
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions aem-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ aem_stop() {

trap aem_stop INT TERM EXIT

ln -sf /proc/1/fd/1 /opt/aem/home/var/instance/${RUNMODE}/crx-quickstart/logs/error.log
# link stdout to container output
ln -sf /proc/1/fd/1 /opt/aem/home/var/instance/${RUNMODE}/crx-quickstart/logs/stdout.log

/usr/local/bin/aem instance --instance-${RUNMODE} start

(cat)
# tail error log in subshell to keep container running and allow for graceful shutdown
(tail -F /opt/aem/home/var/instance/${RUNMODE}/crx-quickstart/logs/error.log)
3 changes: 2 additions & 1 deletion aem/default/etc/aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ instance:
- --add-opens=java.base/java.net=ALL-UNNAMED
- -Dnashorn.args=--no-deprecation-warning"
- -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=[[.Env.AEM_PUBLISH_DEBUG_ADDR | default "0.0.0.0:14503" ]]

check:
done_threshold: 1

0 comments on commit 526c587

Please sign in to comment.